Re: sphinxext-opengraph new version 0.5.0 ready for upload
On Mon, Nov 29, 2021 at 2:53 PM Chiara Marmo wrote: > > Dear list, Sandro, > > the 0.5.0 version of sphinxext-opengraph is on salsa ready for upload. I checked it, and it looks good to me so i've uploaded it, thanks for your contribution to Debian! For the next upload, it would be good to run tests at build-time, something that's currently not happening (and ideally add autopkgtest too) Thanks, -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi
Re: Use of flit as a build-backend in pybuild
Hi Scott (2021.11.29_19:38:52_+) > The versions of pybuild in stable, testing, and unstable all support flit as > a > build-backend for packages built upstream using flit. While we're talking about this. Until recently, the flit plugin in pybuild didn't have the test-runner support that was available when using setuptools. That is now fixed, so if you were using a workaround to run the test manually, you can probably drop it now (for bookworm). SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
Re: [Help] diskcache: FTBFS now even earlier due to Python3.10
On Mon, 29 Nov 2021, Scott Talbert wrote: ERROR: py310: could not install deps [django>=2.2.*, pytest, pytest-cov, pytest-django, pytest-xdist]; v = InvocationError("/build/diskcache-5.2.1/.tox/py310/bin/python -m pip install 'django>=2.2.*' pytest pytest-cov pytest-django pytest-xdist", 1) E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd /build/diskcache-5.2.1/.pybuild/cpython3_3.10_diskcache/build; tox -c /build/diskcache-5.2.1/tox.ini --sitepa The actual error: ERROR: Could not find a version that satisfies the requirement typing-extensions>=3.6.4 (from importlib-metadata) ERROR: No matching distribution found for typing-extensions>=3.6.4 That is a really strange error. importlib-metadata requires typing-extenstions>=3.6.4, but it's supposed to be only for python < 3.8. Almost seems like a pip bug when comparing version strings? Perhaps its confused with the two-digits in python 3.10? Yep, I confirmed this is a bug in pip (and apparently a downstream one) and filed a separate bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000826 Scott
sphinxext-opengraph new version 0.5.0 ready for upload
Dear list, Sandro, the 0.5.0 version of sphinxext-opengraph is on salsa ready for upload. Thanks, Regards, Chiara
Use of flit as a build-backend in pybuild
The versions of pybuild in stable, testing, and unstable all support flit as a build-backend for packages built upstream using flit. You can tell if your package is built using flit if it has a pyproject.toml file and it contains a paragraph like: [build-system] requires = ["flit_core >=3.2.0,<4"] build-backend = "flit_core.buildapi" Of the packages I've looked at, they either have no setup.py at all or a very rudimentary generated setup.py. Although the generated setup.py will work, it's only going to provide limited Python metadata for the package. Under the hood, using flit provides a nicer package. To use the flit backend for pybuild all you should need to do is add flit to build-depends and drop whichever of python3-setuptools or python3-distutils you are using now. Flit will be autodetected (and you will see it mentioned in the build log). Flit 3.0 is the lowest version in Debian, so if the requires version is 3.0 or less, then an unversioned build-depends on flit is appropriate. For the example above it would be: flit >= 3.2.0 There is one issue at present, currently if upstream provides optional depends in PEP 621 metadata (there is a [project.optional-dependencies] paragraph in the pyproject.toml) these optional dependencies are added to the binary depends through the python3:Depends expansion variable. I expect this to be fixed in the next dh-python upload. In the meantime this can be disabled by: override_dh_python3: dh_python3 --no-guessing-deps As I'm going through updating my packages, I'm finding flit use is much more common than I was expecting. You may be able to use this more than you thought. I certainly am. Scott K signature.asc Description: This is a digitally signed message part.
Re: [Help] diskcache: FTBFS now even earlier due to Python3.10
On Mon, 29 Nov 2021, Andrey Rahmatullin wrote: On Mon, Nov 29, 2021 at 05:58:47PM +0100, Andreas Tille wrote: ERROR: py310: could not install deps [django>=2.2.*, pytest, pytest-cov, pytest-django, pytest-xdist]; v = InvocationError("/build/diskcache-5.2.1/.tox/py310/bin/python -m pip install 'django>=2.2.*' pytest pytest-cov pytest-django pytest-xdist", 1) E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd /build/diskcache-5.2.1/.pybuild/cpython3_3.10_diskcache/build; tox -c /build/diskcache-5.2.1/tox.ini --sitepa The actual error: ERROR: Could not find a version that satisfies the requirement typing-extensions>=3.6.4 (from importlib-metadata) ERROR: No matching distribution found for typing-extensions>=3.6.4 That is a really strange error. importlib-metadata requires typing-extenstions>=3.6.4, but it's supposed to be only for python < 3.8. Almost seems like a pip bug when comparing version strings? Perhaps its confused with the two-digits in python 3.10? Scott
Re: [Help] diskcache: FTBFS now even earlier due to Python3.10
On Mon, Nov 29, 2021 at 05:58:47PM +0100, Andreas Tille wrote: > ERROR: py310: could not install deps [django>=2.2.*, pytest, pytest-cov, > pytest-django, pytest-xdist]; v = > InvocationError("/build/diskcache-5.2.1/.tox/py310/bin/python -m pip install > 'django>=2.2.*' pytest pytest-cov pytest-django pytest-xdist", 1) > E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd > /build/diskcache-5.2.1/.pybuild/cpython3_3.10_diskcache/build; tox -c > /build/diskcache-5.2.1/tox.ini --sitepa The actual error: ERROR: Could not find a version that satisfies the requirement typing-extensions>=3.6.4 (from importlib-metadata) ERROR: No matching distribution found for typing-extensions>=3.6.4 -- WBR, wRAR signature.asc Description: PGP signature
Re: [Help] diskcache: FTBFS now even earlier due to Python3.10
On Mon, 29 Nov 2021, Andreas Tille wrote: Control: tags -1 help Hi, currently I'm running into ERROR: py310: could not install deps [django>=2.2.*, pytest, pytest-cov, pytest-django, pytest-xdist]; v = InvocationError("/build/diskcache-5.2.1/.tox/py310/bin/python -m pip install 'django>=2.2.*' pytest pytest-cov pytest-django pytest-xdist", 1) E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd /build/diskcache-5.2.1/.pybuild/cpython3_3.10_diskcache/build; tox -c /build/diskcache-5.2.1/tox.ini --sitepa Any help would be really welcome Can you post the full build log somewhere? Scott
[Help] diskcache: FTBFS now even earlier due to Python3.10
Control: tags -1 help Hi, currently I'm running into ERROR: py310: could not install deps [django>=2.2.*, pytest, pytest-cov, pytest-django, pytest-xdist]; v = InvocationError("/build/diskcache-5.2.1/.tox/py310/bin/python -m pip install 'django>=2.2.*' pytest pytest-cov pytest-django pytest-xdist", 1) E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd /build/diskcache-5.2.1/.pybuild/cpython3_3.10_diskcache/build; tox -c /build/diskcache-5.2.1/tox.ini --sitepa Any help would be really welcome Andreas. -- http://fam-tille.de