Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1232003

Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: Command '['/usr/bin/python3.12', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpx5sdn4zk', '--quiet', 'Pillow']' returned non-zero exit status 1.

From Colin Watson <cjwatson@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: Command '['/usr/bin/python3.12', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpx5sdn4zk', '--quiet', 'Pillow']' returned non-zero exit status 1.
Date 2025-02-06 16:10 +0100
Message-ID <KdbFU-eRdY-15@gated-at.bofh.it> (permalink)
References <K8yDf-bAgG-79@gated-at.bofh.it> <KcQ8q-eD37-9@gated-at.bofh.it> <KdagN-ePTL-3@gated-at.bofh.it> <K8yDf-bAgG-79@gated-at.bofh.it> <KdagN-ePTL-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Feb 06, 2025 at 02:29:32PM +0100, Matthias Klose wrote:
> yes, I added that, because without the removal I get:
> 
>  debian/rules build
> py3versions: no X-Python3-Version in control file, using supported versions
> <string>:1: SyntaxWarning: invalid escape sequence '\d'
> python3.12 setup.py build
> configuration error: `project.classifiers[1]` must be trove-classifier

I haven't been able to reproduce this so far no matter what I try.  Are
you building in a clean environment (e.g. sbuild)?

> DESCRIPTION:
>     `PyPI classifier <https://pypi.org/classifiers/>`_.
> 
> GIVEN VALUE:
>     "License :: OSI Approved :: CMU License (MIT-CMU)"
> 
> OFFENDING RULE: 'format'
> 
> DEFINITION:
>     {
>         "type": "string",
>         "format": "trove-classifier"
>     }
> 
> For more details about `format` see
> https://validate-pyproject.readthedocs.io/en/latest/api/validate_pyproject.formats.html

If there's a real problem with the classifier, the best fix would be to
patch pyproject.toml rather than removing it.  But
https://validate-pyproject.readthedocs.io/en/latest/api/validate_pyproject.formats.html
refers to https://pypi.org/classifiers/, and "License :: OSI Approved ::
CMU License (MIT-CMU)" is listed there, so I don't see what the problem
would be ... it feels more like a bug in your installed setuptools
version.

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: Command '['/usr/bin/python3.12', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpx5sdn4zk', '--quiet', 'Pillow']' returned non-zero exit status 1. Colin Watson <cjwatson@debian.org> - 2025-02-06 16:10 +0100
  Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: Command '['/usr/bin/python3.12', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpx5sdn4zk', '--quiet', 'Pillow']' returned non-zero exit status 1. Eric Soroos <eric@soroos.net> - 2025-02-06 18:10 +0100
    Bug#1094040: pystray: FTBFS: distutils.errors.DistutilsError: Command '['/usr/bin/python3.12', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpx5sdn4zk', '--quiet', 'Pillow']' returned non-zero exit status 1. Colin Watson <cjwatson@debian.org> - 2025-02-06 18:20 +0100

csiph-web