Bug#1052847: python-marshmallow: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit code 13

2023-10-19 Thread Benjamin Drung
On Tue, 10 Oct 2023 13:21:26 +0800 Paul Wise  wrote:
> On Tue, 26 Sep 2023 15:23:12 +0200 Lucas Nussbaum wrote:
>  
> > During a rebuild of all packages in sid, your package failed to
build
> > on amd64.
> ...
> > > ImportError while loading conftest
'/<>/.pybuild/cpython3_3.11_marshmallow/build/tests/conftes
t.py'.
> > > tests/conftest.py:4: in 
> > > from tests.base import User, UserSchema, Blog
> > > tests/base.py:14: in 
> > > central = pytz.timezone("US/Central")
> > > /usr/lib/python3/dist-packages/pytz/__init__.py:202: in timezone
> > > raise UnknownTimeZoneError(zone)
> > > E   pytz.exceptions.UnknownTimeZoneError: 'US/Central'
> 
> This was caused by the split of tzdata-legacy from tzdata, the fix is
> to add tzdata-legacy to build-depends and I notice that you already
> fixed the issue in git and tagged an upload but haven't uploaded yet.

I submitted an upstream PR to change the timezone to a non-legacy one:
https://github.com/marshmallow-code/marshmallow/pull/2198

The change was merged. So the tzdata-legacy build dependency can be
dropped when packaging the next upstream release.

-- 
Benjamin Drung
Debian & Ubuntu Developer



Bug#1052847: python-marshmallow: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit code 13

2023-10-09 Thread Paul Wise
On Tue, 26 Sep 2023 15:23:12 +0200 Lucas Nussbaum wrote:
 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
...
> > ImportError while loading conftest 
> > '/<>/.pybuild/cpython3_3.11_marshmallow/build/tests/conftest.py'.
> > tests/conftest.py:4: in 
> > from tests.base import User, UserSchema, Blog
> > tests/base.py:14: in 
> > central = pytz.timezone("US/Central")
> > /usr/lib/python3/dist-packages/pytz/__init__.py:202: in timezone
> > raise UnknownTimeZoneError(zone)
> > E   pytz.exceptions.UnknownTimeZoneError: 'US/Central'

This was caused by the split of tzdata-legacy from tzdata, the fix is
to add tzdata-legacy to build-depends and I notice that you already
fixed the issue in git and tagged an upload but haven't uploaded yet.

Would you like me to upload for you or can you take care of it?

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#1052847: python-marshmallow: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit code 13

2023-09-26 Thread Lucas Nussbaum
Source: python-marshmallow
Version: 3.18.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> dh_auto_build
>   pybuild --build -i python{version} -p 3.11
> I: pybuild base:291: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/decorators.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/utils.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/types.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/base.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/__init__.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/exceptions.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/warnings.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/orderedset.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/fields.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/class_registry.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/error_store.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/schema.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> copying src/marshmallow/validate.py -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> running egg_info
> creating src/marshmallow.egg-info
> writing src/marshmallow.egg-info/PKG-INFO
> writing dependency_links to src/marshmallow.egg-info/dependency_links.txt
> writing requirements to src/marshmallow.egg-info/requires.txt
> writing top-level names to src/marshmallow.egg-info/top_level.txt
> writing manifest file 'src/marshmallow.egg-info/SOURCES.txt'
> reading manifest file 'src/marshmallow.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory 
> 'docs'
> warning: no previously-included files matching '*.pyo' found under directory 
> 'docs'
> warning: no previously-included files matching '*.pyc' found under directory 
> 'tests'
> warning: no previously-included files matching '*.pyo' found under directory 
> 'tests'
> warning: no previously-included files matching '*.pyc' found under directory 
> 'examples'
> warning: no previously-included files matching '*.pyo' found under directory 
> 'examples'
> no previously-included directories found matching 'docs/_build'
> adding license file 'LICENSE'
> writing manifest file 'src/marshmallow.egg-info/SOURCES.txt'
> copying src/marshmallow/py.typed -> 
> /<>/.pybuild/cpython3_3.11_marshmallow/build/marshmallow
> PYTHONPATH=. http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N -bhtml 
> docs debian/html
> Running Sphinx v5.3.0
> making output directory... done
> loading intersphinx inventory from 
> https://python.readthedocs.io/en/latest/objects.inv...
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 26 source files that are out of date
> updating environment: [new config] 26 added, 0 changed, 0 removed
> reading sources... [  3%] api_reference
> reading sources... [  7%] authors
> reading sources... [ 11%] changelog
> reading sources... [ 15%] code_of_conduct
> reading sources... [ 19%] contributing
> reading sources... [ 23%] custom_fields
> reading sources... [ 26%] ecosystem
> reading sources... [ 30%] examples
> reading sources... [ 34%] extending
> reading sources... [ 38%] index
> reading sources... [ 42%] install
> reading sources... [ 46%] kudos
> reading sources... [ 50%] license
> reading sources... [ 53%] marshmallow.class_registry
> reading sources... [ 57%] marshmallow.decorators
> reading sources... [ 61%] marshmallow.error_store
> reading sources... [ 65%] marshmallow.exceptions
> reading sources... [ 69%] marshmallow.fields
> reading sources... [ 73%] marshmallow.schema
> reading sources... [ 76%] marshmallow.utils
> reading sources... [ 80%] marshmallow.validate
> reading sources... [ 84%] nesting
> reading sources... [ 88%] quickstart
> reading sources... [ 92%] upgrading
> reading sources... [ 96%] whos_using
> reading sources... [100%] why
> 
> /<>/docs/api_reference.rst:17: ERROR: An option to automodule is 
> either unknown or has an invalid value: 'autosummary'
> CHANGELOG.rst:9: ERROR: Unknown interpreted text role "pr".
> CHANGELOG.rst:9: ERROR: Unknown interpreted text role "pr".
> CHANGELOG.rst:13: ERROR: Unknown interpreted text role "pr".
> CHANGELOG.rst:20: