summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 00:07:33 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 00:07:33 +0000
commitbf8b6e44965fd42238c9646a77e27766d2655c31 (patch)
tree80495cdec628b9c1cc68de6db87eb4676a1a762f
parenta66d758b876e4ad81d733739bcff5df6b617740d (diff)
automatic import of python-tabpy
-rw-r--r--.gitignore1
-rw-r--r--python-tabpy.spec774
-rw-r--r--sources1
3 files changed, 776 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3c824c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tabpy-2.6.0.tar.gz
diff --git a/python-tabpy.spec b/python-tabpy.spec
new file mode 100644
index 0000000..83b5cf5
--- /dev/null
+++ b/python-tabpy.spec
@@ -0,0 +1,774 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tabpy
+Version: 2.6.0
+Release: 1
+Summary: Web server Tableau uses to run Python scripts.
+License: MIT
+URL: https://github.com/tableau/TabPy
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/04/12/3db183ebccf7009ee3612c45e2f1467ddc831695397e2ff2b7fa1537cdfd/tabpy-2.6.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-cloudpickle
+Requires: python3-configparser
+Requires: python3-coverage
+Requires: python3-coveralls
+Requires: python3-docopt
+Requires: python3-future
+Requires: python3-genson
+Requires: python3-hypothesis
+Requires: python3-jsonschema
+Requires: python3-mock
+Requires: python3-nltk
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-pyopenssl
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-requests
+Requires: python3-scipy
+Requires: python3-simplejson
+Requires: python3-scikit-learn
+Requires: python3-textblob
+Requires: python3-tornado
+Requires: python3-twisted
+Requires: python3-urllib3
+
+%description
+
+TabPy (the Tableau Python Server) is an external service implementation
+which expands Tableau's capabilities by allowing users to execute Python
+scripts and saved functions via Tableau's table calculations.
+
+# Changelog
+
+## v2.6.0
+
+### Improvements
+
+- Fixes deprecation of sklearn in favor of current package name
+scikit-learn
+
+## v2.5.1
+
+### Improvements
+
+- Gzip encoded requests are now supported by default. This can be disabled in
+the config file.
+- The INFO method will return the enabled status of features.
+
+## v2.5.0
+
+### Improvements
+
+- A server with Adhoc Disabled Flag on with the wrong credentials will now
+ return wrong credentials error instead of telling the user
+ that Adhoc Scripts are not allowed on this server.
+- Added documentation for how to run TabPy projects with local changes
+
+### Breaking changes
+
+- Discontinued support for Python 3.6
+- Added support for Python 3.9
+
+## v2.4.0
+
+### Improvements
+
+- Add toggle to turn off evaluate API.
+
+### Breaking changes
+
+- Changing error code to 406 when server not configured for authentication
+ but credentials are provided by client.
+
+## v2.3.2
+
+### Improvements
+
+- Test files added to tar.gz and zip releases.
+
+## v2.3.1
+
+### Bug fixes
+
+- Overriding deployed models.
+
+## v2.3.0
+
+### Improvements
+
+- Fixed scrutinizer test run failure.
+
+## v2.2.0
+
+### Breaking changes
+
+- TabPy fails with 400 when it is not configure for authentication
+ but credentials are provided by client.
+
+### Bug fixes
+
+- When TabPy is running with no console attached it is not failing
+ with 500 when trying to respond with 401 status.
+- tabpy.query() failing when auth is configured.
+
+### Improvements
+
+- Minor code cleanup.
+
+## v1.1.0
+
+### Improvements
+
+- Authorization is now required for the /info API method.
+ This method did not check authentication previously. This change is
+ backwards compatible with Tableau clients.
+- Improved config parsing flexibility. Previously the
+ TABPY_EVALUATE_TIMEOUT setting would be set to a default if
+ tabpy couldn't parse the value. Now it will throw an exception
+ at startup.
+
+## v1.0.0
+
+### Improvements
+
+- Minor: feature name changed to analytics extensions.
+- Startup script files deleted.
+- Index page updated.
+
+### Other
+
+- TabPy is now Tableau Supported (used to be Community Supported).
+
+## v0.9.0
+
+### Improvements
+
+- Models deployment doesn't depend on pip._internal anymore.
+- Package size reduced.
+
+## v0.8.13
+
+### Improvements
+
+- TabPy works with Python 3.8 now.
+- Documentation updates with referencing Tableau Help pages.
+- Added Client.remove() method for deleting deployed models.
+
+### Bug Fixes
+
+- Fixed failing Ctrl+C handler.
+- Fixed query_timeout bug.
+- Fixed None in result collection bug.
+- Fixed script evaluation with missing result/return bug.
+- Fixed startup failure on Windows for Python 3.8.
+
+## v0.8.9
+
+### Improvements
+
+- Added Ctrl+C handler
+- Added configurable buffer size for HTTP requests
+- Added anvoa to supported pre-deployed models in tabpy
+
+## v0.8.7
+
+### Improvements
+
+- Enabled the use of environment variables in the config file.
+
+## v0.8.6
+
+### Fixes
+
+- Fixed file names for package building.
+- Fixed reading version info for /info call.
+
+## v0.8
+
+### Improvements
+
+- TabPy is pip package now
+- Models are deployed with updated script
+
+## v0.7
+
+### Improvements
+
+- Added t-test model
+- Fixed models call with /evaluate for HTTPS
+- Migrated to Tornado 6
+- Timeout is configurable with TABPY_EVALUATE_TIMEOUT config
+ file option
+
+## v0.6.1
+
+### Improvements
+
+- Scripts, documentation, and integration tests for models
+- Small bug fixes
+- Added request context logging as a feature controlled with
+ TABPY_LOG_DETAILS configuration setting.
+- Updated documentation for /info method and v1 API.
+- Added integration tests.
+
+## v0.4
+
+### Improvements
+
+- Added basic access authentication (all methods except /info)
+- tabpy-tools can deploy models to TabPy with authentication on
+- Increased unit tests coverage
+- Travis CI for merge requests: unit tests executed, code style checking
+
+## v0.3.2
+
+### Breaking changes
+
+- Logger configuration now is in TabPy config file.
+
+### Improvements
+
+- Remove versioneer and just replace it with VERSION file
+- Require Python 3.6.5
+- Require jsonschema to be compatible with 2.3.0
+- Added setup instructions (known issues) for CentOS
+
+## v0.3.1
+
+- Fixed dependency on tabpy-tools in startup scripts
+- Fixed Python version dependency in tabpy-server setup script
+
+## v0.3
+
+### Breaking changes
+
+- The config file is now not just Python code but an actual config
+- Tornado config file has a different setting for CORS
+- Setup scripts are deleted - setup (if needed) happens with the startup script
+- tabpy-client is tabpy-tools now
+
+### Improvements
+
+- Secure connection (HTTPS) is supported with Tableau 2019.2 and newer versions
+- Documentation is improved with more examples added
+- Versioning is done with Versioneer and github release tags
+- Improved logging
+- Unit tests are passing now
+- Configurations for Postman and Swagger are available to use those against running TabPy
+
+## v0.2
+
+- Initial version
+
+
+%package -n python3-tabpy
+Summary: Web server Tableau uses to run Python scripts.
+Provides: python-tabpy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tabpy
+
+TabPy (the Tableau Python Server) is an external service implementation
+which expands Tableau's capabilities by allowing users to execute Python
+scripts and saved functions via Tableau's table calculations.
+
+# Changelog
+
+## v2.6.0
+
+### Improvements
+
+- Fixes deprecation of sklearn in favor of current package name
+scikit-learn
+
+## v2.5.1
+
+### Improvements
+
+- Gzip encoded requests are now supported by default. This can be disabled in
+the config file.
+- The INFO method will return the enabled status of features.
+
+## v2.5.0
+
+### Improvements
+
+- A server with Adhoc Disabled Flag on with the wrong credentials will now
+ return wrong credentials error instead of telling the user
+ that Adhoc Scripts are not allowed on this server.
+- Added documentation for how to run TabPy projects with local changes
+
+### Breaking changes
+
+- Discontinued support for Python 3.6
+- Added support for Python 3.9
+
+## v2.4.0
+
+### Improvements
+
+- Add toggle to turn off evaluate API.
+
+### Breaking changes
+
+- Changing error code to 406 when server not configured for authentication
+ but credentials are provided by client.
+
+## v2.3.2
+
+### Improvements
+
+- Test files added to tar.gz and zip releases.
+
+## v2.3.1
+
+### Bug fixes
+
+- Overriding deployed models.
+
+## v2.3.0
+
+### Improvements
+
+- Fixed scrutinizer test run failure.
+
+## v2.2.0
+
+### Breaking changes
+
+- TabPy fails with 400 when it is not configure for authentication
+ but credentials are provided by client.
+
+### Bug fixes
+
+- When TabPy is running with no console attached it is not failing
+ with 500 when trying to respond with 401 status.
+- tabpy.query() failing when auth is configured.
+
+### Improvements
+
+- Minor code cleanup.
+
+## v1.1.0
+
+### Improvements
+
+- Authorization is now required for the /info API method.
+ This method did not check authentication previously. This change is
+ backwards compatible with Tableau clients.
+- Improved config parsing flexibility. Previously the
+ TABPY_EVALUATE_TIMEOUT setting would be set to a default if
+ tabpy couldn't parse the value. Now it will throw an exception
+ at startup.
+
+## v1.0.0
+
+### Improvements
+
+- Minor: feature name changed to analytics extensions.
+- Startup script files deleted.
+- Index page updated.
+
+### Other
+
+- TabPy is now Tableau Supported (used to be Community Supported).
+
+## v0.9.0
+
+### Improvements
+
+- Models deployment doesn't depend on pip._internal anymore.
+- Package size reduced.
+
+## v0.8.13
+
+### Improvements
+
+- TabPy works with Python 3.8 now.
+- Documentation updates with referencing Tableau Help pages.
+- Added Client.remove() method for deleting deployed models.
+
+### Bug Fixes
+
+- Fixed failing Ctrl+C handler.
+- Fixed query_timeout bug.
+- Fixed None in result collection bug.
+- Fixed script evaluation with missing result/return bug.
+- Fixed startup failure on Windows for Python 3.8.
+
+## v0.8.9
+
+### Improvements
+
+- Added Ctrl+C handler
+- Added configurable buffer size for HTTP requests
+- Added anvoa to supported pre-deployed models in tabpy
+
+## v0.8.7
+
+### Improvements
+
+- Enabled the use of environment variables in the config file.
+
+## v0.8.6
+
+### Fixes
+
+- Fixed file names for package building.
+- Fixed reading version info for /info call.
+
+## v0.8
+
+### Improvements
+
+- TabPy is pip package now
+- Models are deployed with updated script
+
+## v0.7
+
+### Improvements
+
+- Added t-test model
+- Fixed models call with /evaluate for HTTPS
+- Migrated to Tornado 6
+- Timeout is configurable with TABPY_EVALUATE_TIMEOUT config
+ file option
+
+## v0.6.1
+
+### Improvements
+
+- Scripts, documentation, and integration tests for models
+- Small bug fixes
+- Added request context logging as a feature controlled with
+ TABPY_LOG_DETAILS configuration setting.
+- Updated documentation for /info method and v1 API.
+- Added integration tests.
+
+## v0.4
+
+### Improvements
+
+- Added basic access authentication (all methods except /info)
+- tabpy-tools can deploy models to TabPy with authentication on
+- Increased unit tests coverage
+- Travis CI for merge requests: unit tests executed, code style checking
+
+## v0.3.2
+
+### Breaking changes
+
+- Logger configuration now is in TabPy config file.
+
+### Improvements
+
+- Remove versioneer and just replace it with VERSION file
+- Require Python 3.6.5
+- Require jsonschema to be compatible with 2.3.0
+- Added setup instructions (known issues) for CentOS
+
+## v0.3.1
+
+- Fixed dependency on tabpy-tools in startup scripts
+- Fixed Python version dependency in tabpy-server setup script
+
+## v0.3
+
+### Breaking changes
+
+- The config file is now not just Python code but an actual config
+- Tornado config file has a different setting for CORS
+- Setup scripts are deleted - setup (if needed) happens with the startup script
+- tabpy-client is tabpy-tools now
+
+### Improvements
+
+- Secure connection (HTTPS) is supported with Tableau 2019.2 and newer versions
+- Documentation is improved with more examples added
+- Versioning is done with Versioneer and github release tags
+- Improved logging
+- Unit tests are passing now
+- Configurations for Postman and Swagger are available to use those against running TabPy
+
+## v0.2
+
+- Initial version
+
+
+%package help
+Summary: Development documents and examples for tabpy
+Provides: python3-tabpy-doc
+%description help
+
+TabPy (the Tableau Python Server) is an external service implementation
+which expands Tableau's capabilities by allowing users to execute Python
+scripts and saved functions via Tableau's table calculations.
+
+# Changelog
+
+## v2.6.0
+
+### Improvements
+
+- Fixes deprecation of sklearn in favor of current package name
+scikit-learn
+
+## v2.5.1
+
+### Improvements
+
+- Gzip encoded requests are now supported by default. This can be disabled in
+the config file.
+- The INFO method will return the enabled status of features.
+
+## v2.5.0
+
+### Improvements
+
+- A server with Adhoc Disabled Flag on with the wrong credentials will now
+ return wrong credentials error instead of telling the user
+ that Adhoc Scripts are not allowed on this server.
+- Added documentation for how to run TabPy projects with local changes
+
+### Breaking changes
+
+- Discontinued support for Python 3.6
+- Added support for Python 3.9
+
+## v2.4.0
+
+### Improvements
+
+- Add toggle to turn off evaluate API.
+
+### Breaking changes
+
+- Changing error code to 406 when server not configured for authentication
+ but credentials are provided by client.
+
+## v2.3.2
+
+### Improvements
+
+- Test files added to tar.gz and zip releases.
+
+## v2.3.1
+
+### Bug fixes
+
+- Overriding deployed models.
+
+## v2.3.0
+
+### Improvements
+
+- Fixed scrutinizer test run failure.
+
+## v2.2.0
+
+### Breaking changes
+
+- TabPy fails with 400 when it is not configure for authentication
+ but credentials are provided by client.
+
+### Bug fixes
+
+- When TabPy is running with no console attached it is not failing
+ with 500 when trying to respond with 401 status.
+- tabpy.query() failing when auth is configured.
+
+### Improvements
+
+- Minor code cleanup.
+
+## v1.1.0
+
+### Improvements
+
+- Authorization is now required for the /info API method.
+ This method did not check authentication previously. This change is
+ backwards compatible with Tableau clients.
+- Improved config parsing flexibility. Previously the
+ TABPY_EVALUATE_TIMEOUT setting would be set to a default if
+ tabpy couldn't parse the value. Now it will throw an exception
+ at startup.
+
+## v1.0.0
+
+### Improvements
+
+- Minor: feature name changed to analytics extensions.
+- Startup script files deleted.
+- Index page updated.
+
+### Other
+
+- TabPy is now Tableau Supported (used to be Community Supported).
+
+## v0.9.0
+
+### Improvements
+
+- Models deployment doesn't depend on pip._internal anymore.
+- Package size reduced.
+
+## v0.8.13
+
+### Improvements
+
+- TabPy works with Python 3.8 now.
+- Documentation updates with referencing Tableau Help pages.
+- Added Client.remove() method for deleting deployed models.
+
+### Bug Fixes
+
+- Fixed failing Ctrl+C handler.
+- Fixed query_timeout bug.
+- Fixed None in result collection bug.
+- Fixed script evaluation with missing result/return bug.
+- Fixed startup failure on Windows for Python 3.8.
+
+## v0.8.9
+
+### Improvements
+
+- Added Ctrl+C handler
+- Added configurable buffer size for HTTP requests
+- Added anvoa to supported pre-deployed models in tabpy
+
+## v0.8.7
+
+### Improvements
+
+- Enabled the use of environment variables in the config file.
+
+## v0.8.6
+
+### Fixes
+
+- Fixed file names for package building.
+- Fixed reading version info for /info call.
+
+## v0.8
+
+### Improvements
+
+- TabPy is pip package now
+- Models are deployed with updated script
+
+## v0.7
+
+### Improvements
+
+- Added t-test model
+- Fixed models call with /evaluate for HTTPS
+- Migrated to Tornado 6
+- Timeout is configurable with TABPY_EVALUATE_TIMEOUT config
+ file option
+
+## v0.6.1
+
+### Improvements
+
+- Scripts, documentation, and integration tests for models
+- Small bug fixes
+- Added request context logging as a feature controlled with
+ TABPY_LOG_DETAILS configuration setting.
+- Updated documentation for /info method and v1 API.
+- Added integration tests.
+
+## v0.4
+
+### Improvements
+
+- Added basic access authentication (all methods except /info)
+- tabpy-tools can deploy models to TabPy with authentication on
+- Increased unit tests coverage
+- Travis CI for merge requests: unit tests executed, code style checking
+
+## v0.3.2
+
+### Breaking changes
+
+- Logger configuration now is in TabPy config file.
+
+### Improvements
+
+- Remove versioneer and just replace it with VERSION file
+- Require Python 3.6.5
+- Require jsonschema to be compatible with 2.3.0
+- Added setup instructions (known issues) for CentOS
+
+## v0.3.1
+
+- Fixed dependency on tabpy-tools in startup scripts
+- Fixed Python version dependency in tabpy-server setup script
+
+## v0.3
+
+### Breaking changes
+
+- The config file is now not just Python code but an actual config
+- Tornado config file has a different setting for CORS
+- Setup scripts are deleted - setup (if needed) happens with the startup script
+- tabpy-client is tabpy-tools now
+
+### Improvements
+
+- Secure connection (HTTPS) is supported with Tableau 2019.2 and newer versions
+- Documentation is improved with more examples added
+- Versioning is done with Versioneer and github release tags
+- Improved logging
+- Unit tests are passing now
+- Configurations for Postman and Swagger are available to use those against running TabPy
+
+## v0.2
+
+- Initial version
+
+
+%prep
+%autosetup -n tabpy-2.6.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-tabpy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 2.6.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..49d5618
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7c4c0d0f4795f4be6fbf353e7de48b27 tabpy-2.6.0.tar.gz