Source: buildstream-plugins
Version: 2.7.0-1
Severity: normal

Hi Theodore & Jeremy,

Thanks for this new package.

python3-tomli is on it's way out, but "tomllib" (a copy of tomli)
has been bolted into the standard library and is
likely to stay there forever.

Please drop the "python3-tomli" stanza from d/contro, twice.

Greetings

Alexandre

requirements/plugin-requirements.txt seems a tad outdated.

-----

/tmp/buildstream-plugins-2.7.0$ grep tomli -r -C 3
debian/control- python3-setuptools,
debian/control- python3-sphinx,
debian/control- python3-sphinx-rtd-theme,
debian/control: python3-tomli,
--
debian/control- git,
debian/control- patch,
debian/control- python3-requests,
debian/control: python3-tomli,
--
src/buildstream_plugins/sources/cargo.py:# We prefer tomli that was put into 
standard library as tomllib
src/buildstream_plugins/sources/cargo.py-# starting from 3.11
src/buildstream_plugins/sources/cargo.py-try:
src/buildstream_plugins/sources/cargo.py-    import tomllib  # type: ignore
src/buildstream_plugins/sources/cargo.py-except ImportError:
src/buildstream_plugins/sources/cargo.py:    import tomli as tomllib  # type: 
ignore
src/buildstream_plugins/sources/cargo.py-
--
setup.py-    extras_require={
setup.py:        "cargo": ['tomli; python_version < "3.11"'],
setup.py-    },
--
requirements/plugin-requirements.txt-# Cargo source
requirements/plugin-requirements.txt:tomli
--
NEWS-
NEWS-  o Updating pylint and correcting errors
NEWS-
NEWS:  o Port cargo plugin to use tomli, this will remove the toml
NEWS:    dependency as tomli will soon be part of the standard library
NEWS-
NEWS-  o Some fixes to the cargo plugin

  • Bug#1135828: buildstream-plugins: please drop the extran... Alexandre Detiste

Reply via email to