Your message dated Tue, 06 Aug 2024 08:50:01 +0000
with message-id <[email protected]>
and subject line Bug#1077523: fixed in python-requests-mock 1.12.1-2
has caused the Debian Bug report #1077523,
regarding python-requests-mock: FTBFS: AttributeError: 'NoneType' object has no 
attribute 'get'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1077523: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077523
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-requests-mock
Version: 1.12.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240728 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> make: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> dh build --buildsystem=pybuild --with python3,sphinxdoc
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:311: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_requests-mock  
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `description` defined outside of `pyproject.toml` is ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `description = 'Mock out responses from the requests package'`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `description` is listed as `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `description` under `dynamic` 
> or alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `readme` defined outside of `pyproject.toml` is ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `readme = 
> '===============================\nrequests-mock\n===============================\n\nIntro\n=====\n\n`requests-mock`
>  provides a building block to stub out the HTTP `requests`_ portions of your 
> testing code.\nYou should checkout the `docs`_ for more information.\n\nThe 
> Basics\n==========\n\nEverything in `requests`_ eventually goes through an 
> adapter to do the transport work.\n`requests-mock` creates a custom `adapter` 
> that allows you to predefine responses when certain URIs are called.\n\nThere 
> are then a number of methods provided to get the adapter used.\n\nA simple 
> example:\n\n.. code:: python\n\n    >>> import requests\n    >>> import 
> requests_mock\n\n    >>> session = requests.Session()\n    >>> adapter = 
> requests_mock.Adapter()\n    >>> session.mount(\'mock://\', adapter)\n\n    
> >>> adapter.register_uri(\'GET\', \'mock://test.com\', text=\'data\')\n    
> >>> resp = session.get(\'mock://test.com\')\n    >>> resp.status_code, 
> resp.text\n    (200, \'data\')\n\nObviously having all URLs be `mock://` 
> prefixed isn\'t going to be useful,\nso you can use `requests_mock.Mocker` to 
> get the adapter into place.\n\nAs a context manager:\n\n.. code:: python\n\n  
>   >>> with requests_mock.Mocker() as m:\n    ...     
> m.get(\'http://test.com\', text=\'data\')\n    ...     
> requests.get(\'http://test.com\').text\n    ...\n    \'data\'\n\nOr as a 
> decorator:\n\n.. code:: python\n\n    >>> @requests_mock.Mocker()\n    ... 
> def test_func(m):\n    ...     m.get(\'http://test.com\', text=\'data\')\n    
> ...     return requests.get(\'http://test.com\').text\n    ...\n    >>> 
> test_func()\n    \'data\'\n\nOr as a pytest fixture:\n\n.. code:: python\n\n  
>   >>> def test_simple(requests_mock):\n    ...    
> requests_mock.get(\'http://test.com\', text=\'data\')\n    ...    assert 
> \'data\' == requests.get(\'http://test.com\').text\n\nFor more information 
> checkout the `docs`_.\n\nReporting Bugs\n==============\n\nDevelopment and 
> bug tracking is performed on `GitHub`_.\n\nQuestions\n=========\n\nThere is a 
> tag dedicated to `requests-mock` on `StackOverflow`_ where you can ask usage 
> questions.\n\nLicense\n=======\n\nLicensed under the Apache License, Version 
> 2.0 (the "License"); you may\nnot use this file except in compliance with the 
> License. You may obtain\na copy of the License at\n\n     
> https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable 
> law or agreed to in writing, software\ndistributed under the License is 
> distributed on an "AS IS" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY 
> KIND, either express or implied. See the\nLicense for the specific language 
> governing permissions and limitations\nunder the License.\n\n.. _requests: 
> https://requests.readthedocs.io\n.. _docs: 
> https://requests-mock.readthedocs.io/\n.. _GitHub: 
> https://github.com/jamielennox/requests-mock\n.. _StackOverflow: 
> https://stackoverflow.com/questions/tagged/requests-mock\n'`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `readme` is listed as `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `readme` under `dynamic` or 
> alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `requires-python` defined outside of `pyproject.toml` is 
> ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `requires-python = <SpecifierSet('>=3.5')>`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `requires-python` is listed as `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `requires-python` under 
> `dynamic` or alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `license` defined outside of `pyproject.toml` is ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `license = 'Apache-2'`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `license` is listed as `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `license` under `dynamic` or 
> alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `authors` defined outside of `pyproject.toml` is ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `authors = 'Jamie Lennox'`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `authors` is listed as `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `authors` under `dynamic` or 
> alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `classifiers` defined outside of `pyproject.toml` is ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `classifiers = ['Development Status :: 5 - Production/Stable', 
> 'Intended Audience :: Developers', 'Intended Audience :: Information 
> Technology', 'License :: OSI Approved :: Apache Software License', 'Operating 
> System :: OS Independent', 'Programming Language :: Python', 'Programming 
> Language :: Python :: 3', 'Programming Language :: Python :: 3.8', 
> 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 
> 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: 
> Python :: 3.12', 'Programming Language :: Python :: Implementation :: 
> CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic 
> :: Software Development :: Testing']`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `classifiers` is listed as `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `classifiers` under `dynamic` 
> or alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `urls` defined outside of `pyproject.toml` is ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `urls = {'Source': 'https://github.com/jamielennox/requests-mock'}`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `urls` is listed as `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `urls` under `dynamic` or 
> alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `entry-points` defined outside of `pyproject.toml` is 
> ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `entry-points = {'pytest11': ['requests_mock = 
> requests_mock.contrib._pytest_plugin']}`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `entry-points` is listed as `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `entry-points` under `dynamic` 
> or alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `dependencies` defined outside of `pyproject.toml` is 
> ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `dependencies = ['requests>=2.22,<3']`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `dependencies` is listed as `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `dependencies` under `dynamic` 
> or alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `optional-dependencies` defined outside of `pyproject.toml` 
> is ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `optional-dependencies = {'fixture': ['fixtures']}`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `optional-dependencies` is listed as 
> `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `optional-dependencies` under 
> `dynamic` or alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
> line 373, in <module>
>     main()
>   File 
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
> line 357, in main
>     json_out["return_val"] = hook(**hook_input["kwargs"])
>                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
> line 271, in build_wheel
>     return _build_backend().build_wheel(
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 415, 
> in build_wheel
>     return self._build_with_temp_dir(
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 397, 
> in _build_with_temp_dir
>     self.run_setup()
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 313, 
> in run_setup
>     exec(code, locals())
>   File "<string>", line 1, in <module>
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 103, in 
> setup
>     return distutils.core.setup(**attrs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 
> 158, in setup
>     dist.parse_config_files()
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 632, in 
> parse_config_files
>     pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
>   File "/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py", 
> line 71, in apply_configuration
>     return _apply(dist, config, filepath)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py", 
> line 53, in apply
>     _apply_project_table(dist, config, root_dir)
>   File 
> "/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py", 
> line 79, in _apply_project_table
>     corresp(dist, value, root_dir)
>   File 
> "/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py", 
> line 161, in _long_description
>     file = val.get("file") or ()
>            ^^^^^^^
> AttributeError: 'NoneType' object has no attribute 'get'
> 
> ERROR Backend subprocess exited when trying to invoke build_wheel
> E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: 
> python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_requests-mock  
> dh_auto_build: error: pybuild --build -i python{version} -p 3.12 returned 
> exit code 13
> make: *** [debian/rules:10: build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/python-requests-mock_1.12.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: python-requests-mock
Source-Version: 1.12.1-2
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-requests-mock, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-requests-mock 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 05 Aug 2024 13:21:15 +0200
Source: python-requests-mock
Architecture: source
Version: 1.12.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1069954 1077523
Changes:
 python-requests-mock (1.12.1-2) unstable; urgency=medium
 .
   * Removed python3-six (build-)depends (Closes: #1069954).
   * Add many things to [project]/dynamic in pyproject.toml (Closes: #1077523).
Checksums-Sha1:
 4f91ba4273ba61ec3af8ca784d4cc38bcb7307f4 2559 python-requests-mock_1.12.1-2.dsc
 34413a4f75f87c72201a8cbc3cdaaabadd077364 4980 
python-requests-mock_1.12.1-2.debian.tar.xz
 d876580c14b5e95212cb9504e60fddf593169a57 8667 
python-requests-mock_1.12.1-2_amd64.buildinfo
Checksums-Sha256:
 6c6a0b8c4a7f8cb99fd9e967fc2863fbee8d2d28e731992fff9551f28f7feab7 2559 
python-requests-mock_1.12.1-2.dsc
 03f040f0eb3d0326be63d40c46ff9222e32a8328eb9722b2ce114aecfa3fda90 4980 
python-requests-mock_1.12.1-2.debian.tar.xz
 05395be749e990c5df1eb61f2bf52f34f8365972593b36f788568ed05573549a 8667 
python-requests-mock_1.12.1-2_amd64.buildinfo
Files:
 e0a2c48efb33e6b24eb2c5f5e2ae233c 2559 python optional 
python-requests-mock_1.12.1-2.dsc
 926b9b2ae744773a687cb9b20e154d07 4980 python optional 
python-requests-mock_1.12.1-2.debian.tar.xz
 6af82845b4b9a8bc4985a7e6db2e8a9b 8667 python optional 
python-requests-mock_1.12.1-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmax3SYACgkQ1BatFaxr
Q/4s/hAAjU3kj0P7iqtz0UHOcsYF6KP2GEDhxVwiGgpqvi2wIEvYNpHVF+mPPdm3
gn0Xxdb5JWWKxN6DGNWlw0HSqX9xd037QAguaum/sxvtl2fyyeBNp0AgAW8naenI
xR5+QdRHIA1B8oR3U7Gny49TTQP6HThj2dmZ9ROEJIxLxeptGjKRwzbC+P/TtqgG
oPxCQypZQ0czzJNny2VgNHWX5+BnLWDPPMxT75fpy6j2l2WDz3faf3aV40IFbibj
KihbpPvvR33mT8yYYAH0nJdKdsEtbR1jpqz9DtjgKz/4qWic6fL+pgKKQirBtDfQ
MaUAPq6j4mCIPHhpF7Rxr6MBlOzc5Uyj7OLQIPLijNHEul6cs7rh0/7UjkPsuVQd
osfSJmQLTZVAufuRpMYlcMsnCbulpkOvoud1lUC5BdJs+hsLg1vpdx2lOqKNAQJo
SIhrjpwFhlUHqprnq6TjzR5ABJl1G7t7GUP75NHkJ1rFikU8FFDrwkp+HcN1fd6S
MiIczBNQW/OoGZnOwrfM501DAwABLWiEUv+EnOfi8BMeyZ/hiimlf32gvggSTFFA
+R6tH/r6UQx+WYRceCS/KJAMSFNBqj8ipDJvIJp4LKlS9D9TqSu+OxotTk90xtU4
SzIQRincXvPi5DxoOYUxsCKCOK/Y11CyaiLoQY6iC2Z3aojj+4U=
=U1Av
-----END PGP SIGNATURE-----

Attachment: pgpjplD40bq54.pgp
Description: PGP signature


--- End Message ---

Reply via email to