15
0

- 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
This commit is contained in:
2025-07-05 10:35:24 +00:00
committed by Git OBS Bridge
parent 021d40c42f
commit b3f0ef6ba9
6 changed files with 50 additions and 37 deletions

View File

@@ -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