From b3f0ef6ba979dc57716633cbed0de74ede7389e356fbfaca6fec864d63fc4570 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 5 Jul 2025 10:35:24 +0000 Subject: [PATCH] - update to 3.1.0: * Support Python 3.11 and 3.12. * Remove deprecated usage of inspect.getargspec that is no longer supported in Python 3.12. * Fix python_requires package metadata to support Python 3.7+. * Drop support for Python 2, as well as 3.4, 3.5, and 3.6. * Fix a broken compatibility shim that would cause the ConfigParser to fail on Python 3.12 when ConfigParser.readfp is removed. * Drop setuptools dependency and start using importlib.metadata instead. * Refactor repository into a src folder layout. * Added setuptools as an explicit dependency. This has always been required but now that more environments are becoming capable of operating without it being installed, we now need to ensure it's available. * pytest-runner removed, use tox to run tests. * Python 3 deprecation warning cleanups * Moved code to GitHub under the Pylons Project. * Moved documentation under the Pylons Project, hosted by Read the Docs at https://docs.pylonsproject.org/projects/pastedepl oy/en/latest/ * Fixed Python 3 issue in paste.deploy.util.fix_type_error() * Fixed use of the wrong variable when determining the context protocol * Fixed invalid import of paste.deploy.Config to paste.deploy.config.Config * Fixed multi proxy IPs bug in X-Forwarded-For header in PrefixMiddleware * Fixed TypeError when trying to raise LookupError on Python 3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PasteDeploy?expand=0&rev=42 --- PasteDeploy-3.1.0.tar.gz | 3 ++ _service | 15 ------- _servicedata | 4 -- ...deploy-2.1.1+git.1652668078.0f0697d.tar.gz | 3 -- python-PasteDeploy.changes | 44 ++++++++++++++++++- python-PasteDeploy.spec | 18 +++----- 6 files changed, 50 insertions(+), 37 deletions(-) create mode 100644 PasteDeploy-3.1.0.tar.gz delete mode 100644 _service delete mode 100644 _servicedata delete mode 100644 pastedeploy-2.1.1+git.1652668078.0f0697d.tar.gz diff --git a/PasteDeploy-3.1.0.tar.gz b/PasteDeploy-3.1.0.tar.gz new file mode 100644 index 0000000..655e862 --- /dev/null +++ b/PasteDeploy-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ddbaf152f8095438a9fe81f82c78a6714b92ae8e066bed418b6a7ff6a095a95 +size 37841 diff --git a/_service b/_service deleted file mode 100644 index a5ec5c6..0000000 --- a/_service +++ /dev/null @@ -1,15 +0,0 @@ - - - 2.1.1+git - https://github.com/Pylons/pastedeploy.git - git - .git* - enable - mcepl@cepl.eu - - - *.tar - gz - - - diff --git a/_servicedata b/_servicedata deleted file mode 100644 index 2b6ce7c..0000000 --- a/_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - https://github.com/Pylons/pastedeploy.git - 0f0697dc20ab33c675d9eecb485f41ed26fa70b8 \ No newline at end of file diff --git a/pastedeploy-2.1.1+git.1652668078.0f0697d.tar.gz b/pastedeploy-2.1.1+git.1652668078.0f0697d.tar.gz deleted file mode 100644 index aabc70a..0000000 --- a/pastedeploy-2.1.1+git.1652668078.0f0697d.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7df8ddebbacd0a6a5f8bad1ba197714d39930e469def10bcee68eaa1b576bc3a -size 33486 diff --git a/python-PasteDeploy.changes b/python-PasteDeploy.changes index d5e7e16..b90d271 100644 --- a/python-PasteDeploy.changes +++ b/python-PasteDeploy.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Sat Jul 5 10:35:10 UTC 2025 - Dirk Müller + +- update to 3.1.0: + * Support Python 3.11 and 3.12. + * Remove deprecated usage of inspect.getargspec that is no + longer supported in Python 3.12. + * Fix python_requires package metadata to support Python 3.7+. + * Drop support for Python 2, as well as 3.4, 3.5, and 3.6. + * Fix a broken compatibility shim that would cause the + ConfigParser to fail on Python 3.12 when ConfigParser.readfp + is removed. + * Drop setuptools dependency and start using importlib.metadata + instead. + * Refactor repository into a src folder layout. + * Added setuptools as an explicit dependency. This has always + been required but now that more environments are becoming + capable of operating without it being installed, we now need + to ensure it's available. + * pytest-runner removed, use tox to run tests. + * Python 3 deprecation warning cleanups + * Moved code to GitHub under the Pylons Project. + * Moved documentation under the Pylons Project, hosted by Read + the Docs at https://docs.pylonsproject.org/projects/pastedepl + oy/en/latest/ + * Fixed Python 3 issue in paste.deploy.util.fix_type_error() + * Fixed use of the wrong variable when determining the context + protocol + * Fixed invalid import of paste.deploy.Config to + paste.deploy.config.Config + * Fixed multi proxy IPs bug in X-Forwarded-For header in + PrefixMiddleware + * Fixed TypeError when trying to raise LookupError on Python 3 + * Fixed exception reraise on Python 3 + * Project is now maintained by Alex Grönholm + + * Was printing extraneous data when calling setup.py + * Fixed missing paster template files (fixes "paster create -t + paste.deploy") + ------------------------------------------------------------------- Tue Apr 1 12:34:48 UTC 2025 - Markéta Machová @@ -157,12 +197,12 @@ Thu Oct 24 11:09:48 UTC 2013 - speilicke@suse.com ------------------------------------------------------------------- Thu Jun 13 13:50:37 UTC 2013 - dmueller@suse.com -- add python-distribute dependency +- add python-distribute dependency ------------------------------------------------------------------- Sun May 27 05:17:04 UTC 2012 - highwaystar.ru@gmail.com -- python3 package added +- python3 package added ------------------------------------------------------------------- Thu Sep 1 09:05:45 UTC 2011 - saschpe@suse.de diff --git a/python-PasteDeploy.spec b/python-PasteDeploy.spec index 7abaca8..7667f97 100644 --- a/python-PasteDeploy.spec +++ b/python-PasteDeploy.spec @@ -17,16 +17,14 @@ %{?sle15_python_module_pythons} -%define oldpython python Name: python-PasteDeploy -Version: 2.1.1+git.1652668078.0f0697d +Version: 3.1.0 Release: 0 Summary: Tool to load, configure, and compose WSGI applications and servers License: MIT Group: Development/Languages/Python URL: https://github.com/Pylons/pastedeploy -# Source: https://github.com/Pylons/pastedeploy/archive/%%{version}.tar.gz -Source: pastedeploy-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/PasteDeploy/PasteDeploy-%{version}.tar.gz BuildRequires: %{python_module Paste} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} @@ -39,10 +37,6 @@ Requires: python-setuptools Provides: python-pastedeploy = %{version} Obsoletes: python-pastedeploy < %{version} BuildArch: noarch -%ifpython2 -Obsoletes: %{oldpython}-pastedeploy < %{version} -Provides: %{oldpython}-pastedeploy = %{version} -%endif %python_subpackages %description @@ -51,8 +45,7 @@ URIs can refer to Python Eggs for INI-style configuration files. Paste Script provides commands to serve applications based on this configuration file. %prep -%setup -q -n pastedeploy-%{version} -%autopatch -p1 +%autosetup -p1 -n PasteDeploy-%{version} sed -i -e '/^addopts/s/ --cov//' pytest.ini @@ -69,9 +62,8 @@ sed -i -e '/^addopts/s/ --cov//' pytest.ini %files %{python_files} %doc README.rst %license license.txt -# %%{python_sitelib}/[pP]aste[dD]eploy-%{version}*-info -%{python_sitelib}/[pP]aste[dD]eploy-2.1.1.dist-info -%{python_sitelib}/PasteDeploy-2.1.1*-nspkg.pth +%{python_sitelib}/[pP]aste[dD]eploy-%{version}.dist-info +%{python_sitelib}/PasteDeploy-%{version}*-nspkg.pth %{python_sitelib}/paste/deploy %changelog