Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-legacy-cgi for openSUSE:Factory checked in at 2025-06-04 20:27:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-legacy-cgi (Old) and /work/SRC/openSUSE:Factory/.python-legacy-cgi.new.16005 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-legacy-cgi" Wed Jun 4 20:27:11 2025 rev:4 rq:1282372 version:2.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-legacy-cgi/python-legacy-cgi.changes 2025-02-07 22:58:54.326594073 +0100 +++ /work/SRC/openSUSE:Factory/.python-legacy-cgi.new.16005/python-legacy-cgi.changes 2025-06-04 20:27:12.409635618 +0200 @@ -1,0 +2,10 @@ +Tue Jun 3 08:19:37 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to 2.6.3 + * README updated + * Switched build system uv (hatchling is the PEP-517 backend) + * Supports back to Python 3.8 (not that this is useful, see + the README for information on recommended markers) +- Update BuildRequires from pyproject.toml + +------------------------------------------------------------------- Old: ---- legacy_cgi-2.6.2.tar.gz New: ---- legacy_cgi-2.6.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-legacy-cgi.spec ++++++ --- /var/tmp/diff_new_pack.dgQN26/_old 2025-06-04 20:27:14.593726106 +0200 +++ /var/tmp/diff_new_pack.dgQN26/_new 2025-06-04 20:27:14.609726769 +0200 @@ -18,15 +18,15 @@ %{?sle15_python_module_pythons} Name: python-legacy-cgi -Version: 2.6.2 +Version: 2.6.3 Release: 0 Summary: Fork of the standard library cgi and cgitb modules License: Python-2.0 URL: https://github.com/jackrosenthal/legacy-cgi Source: https://files.pythonhosted.org/packages/source/l/legacy-cgi/legacy_cgi-%{version}.tar.gz BuildRequires: %{python_module base >= 3.10} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} -BuildRequires: %{python_module poetry-core >= 1.0.0} BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros ++++++ legacy_cgi-2.6.2.tar.gz -> legacy_cgi-2.6.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/legacy_cgi-2.6.2/.gitignore new/legacy_cgi-2.6.3/.gitignore --- old/legacy_cgi-2.6.2/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/legacy_cgi-2.6.3/.gitignore 2020-02-02 01:00:00.000000000 +0100 @@ -0,0 +1,47 @@ +*.py[cod] +__pycache__/ + +# C extensions +*.so + +# Packages +*.egg +.eggs/ +*.egg-info +build +dist +docs/_build +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg +lib +lib64 + +release.log.* + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox +htmlcov/ +nosetests.xml + +# virtualenvs +venv +venv3 +pypyenv +pypyenv3 + +# Translations +*.mo + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/legacy_cgi-2.6.2/PKG-INFO new/legacy_cgi-2.6.3/PKG-INFO --- old/legacy_cgi-2.6.2/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/legacy_cgi-2.6.3/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 @@ -1,35 +1,43 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: legacy-cgi -Version: 2.6.2 -Summary: Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594 -Home-page: https://github.com/jackrosenthal/legacy-cgi -License: PSF-2.0 -Author: Michael McLay -Author-email: mc...@eeel.nist.gov -Requires-Python: >=3.10 -Classifier: License :: Other/Proprietary License -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.10 -Classifier: Programming Language :: Python :: 3.11 -Classifier: Programming Language :: Python :: 3.12 -Project-URL: Repository, https://github.com/jackrosenthal/legacy-cgi +Version: 2.6.3 +Summary: Fork of the standard library cgi and cgitb modules removed in Python 3.13 +Project-URL: repository, https://github.com/jackrosenthal/legacy-cgi +Author-email: Guido van Rossum <gu...@python.org>, Andreas Paepcke <paep...@haddock.stanford.edu>, Steve Majewski <sd...@virginia.edu>, Michael McLay <mc...@eeel.nist.gov> +Maintainer-email: Jack Rosenthal <j...@rosenth.al> +License-Expression: PSF-2.0 +License-File: LICENSE +Requires-Python: >=3.8 Description-Content-Type: text/x-rst Python CGI ========== -This is a fork of the standard library modules ``cgi`` and ``cgitb``. -They are slated to be removed from the Python standard libary in -Python 3.13 by PEP-594_. +This is a fork of the standard library modules ``cgi`` and ``cgitb``. They have +been removed from the Python standard libary in Python 3.13 by PEP-594_. .. _PEP-594: https://peps.python.org/pep-0594/ Installation ------------ -Install the ``legacy-cgi`` package from PyPI:: - - $ pip install legacy-cgi +Depend upon ``legacy-cgi`` in your project. It is recommended to use the marker +``python_version >= 3.13``, as while the package can install for older Python +versions, it won't have effect with a standard Python installation as the +built-in modules will take precedence. + +For example, in a ``requirements.txt`` file:: + + legacy-cgi; python_version >= '3.13' + +Or in a PEP-621 ``pyproject.toml`` file:: + + [project] + ... + dependencies = [ + ..., + "legacy-cgi; python_version >= '3.13'", + ] Purpose ------- @@ -40,11 +48,12 @@ Contributions are accepted, but should be focused on bug fixes instead of new features or major refactoring. -New applications should look at the WSGI_ ecosystem. There's a number -of highly-polished web frameworks available, and it's significantly -faster in a typical deployment given a new Python process does not -need created for each request. +New applications should look at the ASGI_ or WSGI_ ecosystems. There's a number +of highly-polished web frameworks available, and it's significantly faster in a +typical deployment given a new Python process does not need created for each +request. +.. _ASGI: https://asgi.readthedocs.io .. _WSGI: https://wsgi.readthedocs.io Documentation @@ -60,4 +69,3 @@ The modules are not renamed, so code written for Python 3.12 or earlier should work without modification with this package installed. - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/legacy_cgi-2.6.2/README.rst new/legacy_cgi-2.6.3/README.rst --- old/legacy_cgi-2.6.2/README.rst 2025-01-15 05:54:07.112918000 +0100 +++ new/legacy_cgi-2.6.3/README.rst 2020-02-02 01:00:00.000000000 +0100 @@ -1,18 +1,31 @@ Python CGI ========== -This is a fork of the standard library modules ``cgi`` and ``cgitb``. -They are slated to be removed from the Python standard libary in -Python 3.13 by PEP-594_. +This is a fork of the standard library modules ``cgi`` and ``cgitb``. They have +been removed from the Python standard libary in Python 3.13 by PEP-594_. .. _PEP-594: https://peps.python.org/pep-0594/ Installation ------------ -Install the ``legacy-cgi`` package from PyPI:: - - $ pip install legacy-cgi +Depend upon ``legacy-cgi`` in your project. It is recommended to use the marker +``python_version >= 3.13``, as while the package can install for older Python +versions, it won't have effect with a standard Python installation as the +built-in modules will take precedence. + +For example, in a ``requirements.txt`` file:: + + legacy-cgi; python_version >= '3.13' + +Or in a PEP-621 ``pyproject.toml`` file:: + + [project] + ... + dependencies = [ + ..., + "legacy-cgi; python_version >= '3.13'", + ] Purpose ------- @@ -23,11 +36,12 @@ Contributions are accepted, but should be focused on bug fixes instead of new features or major refactoring. -New applications should look at the WSGI_ ecosystem. There's a number -of highly-polished web frameworks available, and it's significantly -faster in a typical deployment given a new Python process does not -need created for each request. +New applications should look at the ASGI_ or WSGI_ ecosystems. There's a number +of highly-polished web frameworks available, and it's significantly faster in a +typical deployment given a new Python process does not need created for each +request. +.. _ASGI: https://asgi.readthedocs.io .. _WSGI: https://wsgi.readthedocs.io Documentation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/legacy_cgi-2.6.2/pyproject.toml new/legacy_cgi-2.6.3/pyproject.toml --- old/legacy_cgi-2.6.2/pyproject.toml 2025-01-15 05:54:07.113917800 +0100 +++ new/legacy_cgi-2.6.3/pyproject.toml 2020-02-02 01:00:00.000000000 +0100 @@ -1,28 +1,34 @@ -[tool.poetry] +[project] name = "legacy-cgi" -version = "2.6.2" -description = "Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594" +description = "Fork of the standard library cgi and cgitb modules removed in Python 3.13" +license = "PSF-2.0" +version = "2.6.3" +readme = "README.rst" authors = [ - "Michael McLay <mc...@eeel.nist.gov>", - "Steve Majewski <sd...@virginia.edu>", - "Andreas Paepcke <paep...@haddock.stanford.edu>", - "Guido van Rossum <gu...@python.org>", + {name = "Guido van Rossum", email = "gu...@python.org"}, + {name = "Andreas Paepcke", email = "paep...@haddock.stanford.edu"}, + {name = "Steve Majewski", email = "sd...@virginia.edu"}, + {name = "Michael McLay", email = "mc...@eeel.nist.gov"}, ] -license = "PSF-2.0" -packages = [ - { include = "cgi.py" }, - { include = "cgitb.py" }, - { include = "tests", format = "sdist" }, +maintainers = [ + {name = "Jack Rosenthal", email = "j...@rosenth.al"}, ] -readme = "README.rst" +requires-python = '>=3.8' +dependencies = [] + +[project.urls] repository = "https://github.com/jackrosenthal/legacy-cgi" -[tool.poetry.dependencies] -python = ">=3.10" +[tool.hatch.build.targets.sdist] +include = ["LICENSE", "README.rst", "cgi.py", "cgitb.py", "tests/*"] +exclude = [".gitignore"] + +[tool.hatch.build.targets.wheel] +include = ["cgi.py", "cgitb.py"] -[tool.poetry.dev-dependencies] -pytest = "^7.1.1" +[dependency-groups] +dev = ["pytest"] [build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" +requires = ["hatchling"] +build-backend = "hatchling.build"