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


Groups > linux.debian.bugs.dist > #1232003 > unrolled 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.

Started byColin Watson <cjwatson@debian.org>
First post2025-02-06 16:10 +0100
Last post2025-02-06 18:20 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#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.

FromColin Watson <cjwatson@debian.org>
Date2025-02-06 16:10 +0100
SubjectBug#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.
Message-ID<KdbFU-eRdY-15@gated-at.bofh.it>
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]

[toc] | [next] | [standalone]


#1232018

FromEric Soroos <eric@soroos.net>
Date2025-02-06 18:10 +0100
Message-ID<Kddy2-eSQm-7@gated-at.bofh.it>
In reply to#1232003
There’s an update required, that’s a new trove classifier. 

Sent from my iPhone

> On Feb 6, 2025, at 3:03 PM, Colin Watson <cjwatson@debian.org> wrote:
> 
> 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]
> 

[toc] | [prev] | [next] | [standalone]


#1232019

FromColin Watson <cjwatson@debian.org>
Date2025-02-06 18:20 +0100
Message-ID<KddHH-eSWb-1@gated-at.bofh.it>
In reply to#1232018
On Thu, Feb 06, 2025 at 04:59:32PM +0000, Eric Soroos wrote:
> There’s an update required, that’s a new trove classifier. 

Ah yes, of course, thanks.  I've uploaded trove-classifiers
2025.1.15.22-1 to fix that.

But this implies that Matthias is building in an unclean environment
with python3-trove-classifiers installed.  Building the package with
sbuild instead should avoid the problem.

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web