Dear package maintainer, We want to update python-setuptools to 80.9.0 or newer. However, your package fails to build with it, in our testing Copr: https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-80.9.0/package/python-paste To reproduce, try to build your package in mock with: $ fedpkg --release rawhide mockbuild -N -- --addrepo=https://download.copr.fedorainfracloud.org/results/churchyard/setuptools-80.9.0/fedora-rawhide-x86_64 As the number of failures is rather high, I have not yet tried to look into the details about each individual failure. When you do, please feel free to post relevant part of the logs as comments. Thank you. Let me know if you need help.
=================================== FAILURES =================================== __________________________________ test_form ___________________________________ def test_form(): app = TestApp(CGIApplication({}, script='form.cgi', path=[data_dir])) > res = app.post('', params={'name': b'joe'}, upload_files=[('up', 'file.txt', b'x'*10000)]) tests/test_cgiapp.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ paste/fixture.py:264: in post return self._gen_request('POST', url, params=params, headers=headers, paste/fixture.py:248: in _gen_request return self.do_request(req, status=status) paste/wsgilib.py:350: in raw_interactive app_iter = application(basic_environ, start_response) paste/lint.py:169: in lint_app iterator = application(environ, start_response_wrapper) paste/cgiapp.py:105: in __call__ proc_communicate( paste/cgiapp.py:260: in proc_communicate stderr.write(ensure_text(data)) paste/lint.py:220: in write self.errors.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <paste.wsgilib.ErrorRaiser object at 0x7fdfcae516d0> value = '/builddir/build/BUILD/python-paste-3.10.1-build/paste-3.10.1/tests/cgiapp_data/form.cgi:16: UserWarning: pkg_resource...for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.\n import pkg_resources\n' def write(self, value): if not value: return > raise AssertionError( "No errors should be written (got: %r)" % value) E AssertionError: No errors should be written (got: '/builddir/build/BUILD/python-paste-3.10.1-build/paste-3.10.1/tests/cgiapp_data/form.cgi:16: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.\n import pkg_resources\n') paste/wsgilib.py:381: AssertionError =============================== warnings summary =============================== tests/__init__.py:7 /builddir/build/BUILD/python-paste-3.10.1-build/paste-3.10.1/tests/__init__.py:7: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources ../../../../../usr/lib/python3.14/site-packages/pkg_resources/__init__.py:3146 ../../../../../usr/lib/python3.14/site-packages/pkg_resources/__init__.py:3146 /usr/lib/python3.14/site-packages/pkg_resources/__init__.py:3146: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('paste')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_cgiapp.py::test_form - AssertionError: No errors should be ...
Already reported upstream, not solved: https://github.com/pasteorg/paste/issues/107 Possibly there will be no solution. I am not interested to fix this too, may be we should orphan this package. It's already not required to build my other packages.
I plan to proceed with the setuptools update soon. Let me know if I should wait for python-paste.
I think do not wait. I will leave this package if there will be no update upstream and not sure if main admin @aurelien will continue to maintain.
This now fails to build in rawhide.
Please respond.
Looks like with disabling of urlparser and cgiapp test this package builds well. No sure, if these modules are really required for full funncionality, possibly not, but at least it's possible to install this package. Upstream issue is still not solved, so I can't do more. :-( @mhroncok, can we close this bug? I don't think, there will be more fixes for this.
Thanks.