Re: Self introduction

2025-08-29 Thread Miro Hrončok via python-devel
gers-sig -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: h

Re: Heads up: Another targeted mass rebuild of ~4k Python packages will happen in Fedora 43+

2025-08-15 Thread Miro Hrončok via python-devel
On 15. 08. 25 12:41, Miro Hrončok wrote: On 14. 08. 25 12:02, Miro Hrončok wrote: On 12. 08. 25 22:22, Miro Hrončok wrote: On 12. 08. 25 13:00, Miro Hrončok wrote: Hello Fedora packagers. Unfortunately, we need to rebuild all Fedora 43 (and 44) packages with Python 3.14 .pyc files. To

Re: Heads up: Another targeted mass rebuild of ~4k Python packages will happen in Fedora 43+

2025-08-15 Thread Miro Hrončok via python-devel
On 14. 08. 25 12:02, Miro Hrončok wrote: On 12. 08. 25 22:22, Miro Hrončok wrote: On 12. 08. 25 13:00, Miro Hrončok wrote: Hello Fedora packagers. Unfortunately, we need to rebuild all Fedora 43 (and 44) packages with Python 3.14 .pyc files. To obtain a list, use:    $ repoquery --repo

Re: Heads up: Another targeted mass rebuild of ~4k Python packages will happen in Fedora 43+

2025-08-14 Thread Miro Hrončok via python-devel
On 12. 08. 25 22:22, Miro Hrončok wrote: On 12. 08. 25 13:00, Miro Hrončok wrote: Hello Fedora packagers. Unfortunately, we need to rebuild all Fedora 43 (and 44) packages with Python 3.14 .pyc files. To obtain a list, use:    $ repoquery --repo=rawhide --refresh -f *.cpython-314.pyc

Re: Heads up: Another targeted mass rebuild of ~4k Python packages will happen in Fedora 43+

2025-08-12 Thread Miro Hrončok via python-devel
On 12. 08. 25 13:00, Miro Hrončok wrote: Hello Fedora packagers. Unfortunately, we need to rebuild all Fedora 43 (and 44) packages with Python 3.14 .pyc files. To obtain a list, use:   $ repoquery --repo=rawhide --refresh -f *.cpython-314.pyc --source   (3931 unique packages) This is

Re: PSA: Using %pyproject_wheel and/or %pyproject_install without %pyproject_buildrequires is not supported

2025-07-30 Thread Miro Hrončok via python-devel
On 29. 07. 25 14:51, Tomasz Torcz wrote: On Wed, Jul 09, 2025 at 12:09:58PM +0200, Miro Hrončok wrote: Hello Python packagers, as many are currently migrating from the old Python RPM macros to the new due to https://fedoraproject.org/wiki/Changes/DeprecateSetuppyMacros I'd like to reit

Re: Using pyproject macros when setup.py isn't in root directory

2025-07-10 Thread Miro Hrončok via python-devel
ect_install, we bail out and no longer allow %pyproject_save_files. Obviously, this is somethign we could design, but the amount of such spec files in Fedora is rather low, and they can function with manual %file section. -- Miro Hrončok -- Phone: +420777974800 Fedora M

PSA: Using %pyproject_wheel and/or %pyproject_install without %pyproject_buildrequires is not supported

2025-07-09 Thread Miro Hrončok via python-devel
ck rdieterlensfun sergiopr python-scikit-image swt2c congruity thebeanogamer python-click-spinner till radicale trix lensfun llama-cpp ttorcz python-pyownet yselkowitz flatpak-module-tools Thanks. -- Miro Hrončok -- Phone: +420777974800 IRC

Re: Using pyproject macros when setup.py isn't in root directory

2025-07-09 Thread Miro Hrončok via python-devel
%pyproject_buildrequires %build ... cd subdirectory %pyproject_wheel Note: Make sure not to use pushd or cd - without >&2 in %pyproject_buildrequires, as those commands put output on the stdout and all stdout is considered as generated BuildRequires. -- Miro Hrončok -- Phone: +4207

Re: Fedora 43 Python 3.14 mass rebuild status [DONE]

2025-06-12 Thread Miro Hrončok via python-devel
ge against its all fine building dependencies. For cases where everything is actually fine, we'll handle the builds. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraprojec

Re: Fedora 43 Python 3.14 mass rebuild status [DONE]

2025-06-11 Thread Miro Hrončok via python-devel
ybody time with opening/closing tickets and then manually rebuilding all the packages just to see that everything is fine. What do you mean by "everything is fine"? -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___

%py_byte_compile compiles .py files with dashes, should it?

2025-06-10 Thread Miro Hrončok via python-devel
/__pycache__/nemo-pastebin-configurator.cpython-313.pyc /usr/share/nemo-terminal/__pycache__/nemo-terminal-prefs.cpython-313.pyc But such files are not (easily) importable modules. Should it only compile .py files with importable names? -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix

Re: Fedora 43 Python 3.14 rebuild in a side tag starts today

2025-06-07 Thread Miro Hrončok via python-devel
r changes in Python packages until the rebuild is over. Thanks! Karolina -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to py

%pyproject_buildrequires -t/-e and %tox without a suitable tox configuration will error

2025-03-11 Thread Miro Hrončok via python-devel
https://src.fedoraproject.org/rpms/pyproject-rpm-macros/pull-request/512 On 05. 02. 25 10:47, Miro Hrončok wrote: Hello Pythonistas. When we updated tox from version 3 to 4, it no longer fails when here is no suitable tox configuration found. This was a deliberate upstream choice. Unfortunately, it means that pac

Re: 95 packages use %pyproject_buildrequires with tox without a suitable tox configuration

2025-02-05 Thread Miro Hrončok via python-devel
On 05. 02. 25 10:47, Miro Hrončok wrote: Hello Pythonistas. When we updated tox from version 3 to 4, it no longer fails when here is no suitable tox configuration found. This was a deliberate upstream choice. Unfortunately, it means that packages that use %pyproject_buildrequires with -t or

95 packages use %pyproject_buildrequires with tox without a suitable tox configuration

2025-02-05 Thread Miro Hrončok via python-devel
mkdocs somlo python-migen stevetraylen python-influxdb-client suanandpython-tinydb t0xic0der syncstar thebeanogamer python-pyaes thmpython-textile trix python-einops ttorcz python-simple-pid xdelaruelle mogui zbyszekpython-music21 -- Miro Hrončok -- Phone: +420777974

Re: Let's retire pytest7 and pluggy1.3?

2025-02-02 Thread Miro Hrončok via python-devel
On 02. 02. 25 12:50, Sandro via python-devel wrote: On 31-01-2025 18:17, Miro Hrončok via python-devel wrote: When dealing with python-nose removals I noticed the python-pytest7 package sues nose in tests. Those tests could be easily skipped, but I wonder if it isn't time to get rid of py

Let's retire pytest7 and pluggy1.3?

2025-01-31 Thread Miro Hrončok via python-devel
-repo=rawhide{,-source} --whatrequires 'python3-pluggy1.3' | sort) <(repoquery -q --repo=rawhide{,-source} --whatrequires 'python3-pluggy' | sort) python-pytest7-0:7.4.3-4.fc42.src python3-pytest7-0:7.4.3-4.fc42.noarch -- Miro Hrončok -- Phone: +420777974800 Fedora Matri

Re: Retiring python-nose from Fedora 43+

2025-01-16 Thread Miro Hrončok via python-devel
On 16. 01. 25 13:29, Miro Hrončok wrote: On 06. 01. 25 12:45, Miro Hrončok wrote: Hello, I propose we retire python-nose from Fedora 43+ immediately after branching. The package has been deprecated for 5 years:    https://fedoraproject.org/wiki/Changes/DeprecateNose It does not build with

Re: Retiring python-nose from Fedora 43+

2025-01-16 Thread Miro Hrončok via python-devel
On 06. 01. 25 12:45, Miro Hrončok wrote: Hello, I propose we retire python-nose from Fedora 43+ immediately after branching. The package has been deprecated for 5 years:   https://fedoraproject.org/wiki/Changes/DeprecateNose It does not build with Python 3.14:   https

Re: Retiring python-nose from Fedora 43+

2025-01-12 Thread Miro Hrončok via python-devel
retirement directly or indirectly. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code

Retiring python-nose from Fedora 43+

2025-01-06 Thread Miro Hrončok via python-devel
es enblend, hugin-base -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Condu

Re: Need help with pywt

2024-12-19 Thread Miro Hrončok via python-devel
ntmake.spec#_92 -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of

Re: Retire Python 3.8 from Fedora 42+?

2024-12-10 Thread Miro Hrončok via python-devel
On 06. 12. 24 1:46, Miro Hrončok wrote: On 05. 12. 24 23:24, Fabio Valentini via python-devel wrote: On Thu, Nov 21, 2024 at 11:13 PM Miro Hrončok via python-devel wrote: Hey Pythonistas, - Python 3.8 reached upstream End of Life 2024-10-07. - RHEL 8 Python 3.8 Stream has been retired since

Re: 3 python packages for Multipart Handler

2024-12-07 Thread Miro Hrončok via python-devel
x27;t know if they do the same or not. Best regards, [1] https://src.fedoraproject.org/rpms/python-python-multipart https://src.fedoraproject.org/rpms/python-multipart https://src.fedoraproject.org/rpms/python-MultipartPostHandler2 The other two are different than each other. -- Miro Hrončo

Re: Let's drop /usr/local/lib(64)/python3.X/site-packages once and for all

2024-12-06 Thread Miro Hrončok via python-devel
On 06. 12. 24 18:56, Neal Gompa wrote: On Fri, Dec 6, 2024 at 12:48 PM Miro Hrončok via python-devel wrote: On 06. 12. 24 18:31, Neal Gompa via python-devel wrote: On Fri, Dec 6, 2024 at 12:04 PM Fabio Valentini via python-devel wrote: On Tue, Dec 3, 2024 at 7:03 PM Miro Hrončok via

Re: Let's drop /usr/local/lib(64)/python3.X/site-packages once and for all

2024-12-06 Thread Miro Hrončok via python-devel
On 06. 12. 24 18:31, Neal Gompa via python-devel wrote: On Fri, Dec 6, 2024 at 12:04 PM Fabio Valentini via python-devel wrote: On Tue, Dec 3, 2024 at 7:03 PM Miro Hrončok via python-devel wrote: Hello Pythonistas. tl;dr I wonder if we should get rid of the last downstream-only patch in

Re: Fontmake needed for generating variable font from source

2024-12-06 Thread Miro Hrončok via python-devel
ckage fontmake first. If that's unreasonably complicated (it shouldn't be), you might bundle it as a second source of your font instead. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list

Re: Retire Python 3.8 from Fedora 42+?

2024-12-05 Thread Miro Hrončok via python-devel
On 05. 12. 24 23:24, Fabio Valentini via python-devel wrote: On Thu, Nov 21, 2024 at 11:13 PM Miro Hrončok via python-devel wrote: Hey Pythonistas, - Python 3.8 reached upstream End of Life 2024-10-07. - RHEL 8 Python 3.8 Stream has been retired since May 2023. - Debian buster had Python 3.7

Deprecating %pyproject_buildrequires -w

2024-12-05 Thread Miro Hrončok via python-devel
cally, not all backends support -p. But the overlap of known backends that don't and those that don't have the prepare-metadata-for-build-wheel hook is currently empty. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- _

Let's drop /usr/local/lib(64)/python3.X/site-packages once and for all

2024-12-03 Thread Miro Hrončok via python-devel
packages with Python 3.13 on Fedora 41 only to find them ignored on Fedora 42. However, when we upgrade Python to 3.14 in Fedora 43, their packages would still be broken anyway. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___

Re: How to package Python bindings for Tree-sitter parsers?

2024-11-26 Thread Miro Hrončok via python-devel
Tree-sitter-specific RPM macros used in these packages may need tweaking in future to keep up with any changes to the Python packaging guidelines. Or we could not package them at all unless something we care about depends on them. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix

Re: pyproject-rpm-macros 1.15/1.16: %pyproject_buildrequires -p and -g

2024-11-26 Thread Miro Hrončok via python-devel
On 15. 11. 24 0:18, Miro Hrončok wrote: The new 1.16 version of pyproject-rpm-macros is available in all Fedoras and is on its way to c10s and c9s. This is now available in c10s and c9s, hence also in EPEL 10.0 and EPEL 9 Next Koji buildroots. tox 4.23 is currently available in Rawhide

Retire Python 3.8 from Fedora 42+?

2024-11-21 Thread Miro Hrončok via python-devel
April 2025. Hence I think we should retire Python 3.8 from Fedora 42+ Any other use case for Python 3.8 I missed? -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org

pyproject-rpm-macros 1.15/1.16: %pyproject_buildrequires -p and -g

2024-11-14 Thread Miro Hrončok via python-devel
being (likely forever). Happy packaging, -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org

Re: Should I join python-packagers?

2024-11-12 Thread Miro Hrončok via python-devel
er is not a prerequisite for joining the group, it's the other way around really, this group is like "provenpackagers for packages co-maintained by the group". Demonstrating a deeper understanding of Python packaging in Fedora is necessary. Why do you want to join in the first place?

Re: How to pass arbritary options in SPEC file for python build

2024-11-06 Thread Miro Hrončok via python-devel
https://tickets.metabrainz.org/browse/PICARD-1325 Hope that helps. It seems to be: python setup.py build --disable-autoupdate That should be -C--build-option=--disable-autoupdate, but I have never actually used it this way. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhr

Re: How to pass arbritary options in SPEC file for python build

2024-11-05 Thread Miro Hrončok via python-devel
On 05. 11. 24 19:40, Gerald B. Cox via python-devel wrote: so upstream created the option to disable the update dialog via the --disable-autoupdate option What is this option for? Where are you supposed to use it? -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok

Re: How to pass arbritary options in SPEC file for python build

2024-11-05 Thread Miro Hrončok via python-devel
-option=--disable-autoupdate. It looks weird, but this is how the setuptools build backend passes arguments to setup.py. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list -- python-devel

%pyproject_save_files for packages without Python modules

2024-10-30 Thread Miro Hrončok via python-devel
-info only. Subsequent %pyproject_save_files calls would override/expand it. However, there are challenges: what happens if there are multiple wheels installed this way? etc. - I'd probably go with option 1. But perhaps there's something else I have not fig

Re: A tool to convert Python packages to pyproject RPM macros

2024-10-12 Thread Miro Hrončok via python-devel
ast 6 years almost beyond recognition. RHEL 8 is too old to catch up. We are at a point where we can no longer build Python RPM packages for EPEL 8 and Fedora form the same spec file, unless we fill it with %if conditionals. -- Miro Hrončok -- Phone: +42077797480

A tool to convert Python packages to pyproject RPM macros

2024-10-10 Thread Miro Hrončok via python-devel
/README.md [4]: https://github.com/hroncok/pyprojectize [5]: https://pypi.org/project/pyprojectize/ [6]: https://github.com/hroncok/pyprojectize/issues -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list

Re: Loudly deprecating setup.py-based macros %py3_build %py3_install

2024-09-30 Thread Miro Hrončok via python-devel
On 27. 09. 24 23:43, Miro Hrončok wrote: And there are some outright bugs: -%{python3_sitelib}/ATpy-*.egg-info +%{python3_sitelib}/ATpy.dist-info Here the replacement ate the -* part thinking it is -py3.13. Not sure how to properly differentiate between: %{python3_sitelib}/ATpy-*.egg-info

Re: Loudly deprecating setup.py-based macros %py3_build %py3_install

2024-09-27 Thread Miro Hrončok via python-devel
On 27. 09. 24 18:46, Miro Hrončok wrote: On 24. 09. 24 13:55, Maxwell G wrote: Later, I'd like to experiment with https://github.com/packit/specfile to write a minimal automatic convertor from the old macros to the new. It won't be perfect and likely won't be able to ditch any

Re: Loudly deprecating setup.py-based macros %py3_build %py3_install

2024-09-27 Thread Miro Hrončok via python-devel
The idea is that we can define individual functions that can update certain aspects of the specfile. Later, we allow users to turn them on/off. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing

Loudly deprecating setup.py-based macros %py3_build %py3_install

2024-09-24 Thread Miro Hrončok
ic convertor from the old macros to the new. It won't be perfect and likely won't be able to ditch any manually listed BuildRequires at first, but at least it might allow us to mass update spec files while keeping them buildable. Let me know what you think about this. -- Miro Hrončok --

Re: Proposal: Let's update virtualenv in Rawhide (drops Python 3.6 support)

2024-08-26 Thread Miro Hrončok
On 26. 08. 24 12:58, Neal Gompa wrote: On Mon, Aug 26, 2024 at 6:11 AM Miro Hrončok wrote: Hello Pythonistas. The virtualenv version in Fedora is currently stuck at 20.21.1 (April 2023). This is because version 20.22+ dropped support for Python 2.7 and 3.6 virtual environments. Now when

Proposal: Let's update virtualenv in Rawhide (drops Python 3.6 support)

2024-08-26 Thread Miro Hrončok
propose we bite the bullet and update virtualenv to the latest version in Fedora 42+. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to

Re: setuptools 72 removes setup.py test, your package(s) will break

2024-08-14 Thread Miro Hrončok
harder to grep for. I might end up building everything in copr and grepping the logs for the error messages. -- Miro Hrončok -- Phone: +420777974800 Fedora Matrix: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To u

setuptools 72 removes setup.py test, your package(s) will break

2024-08-14 Thread Miro Hrončok
ython-autopage zawertun kitty zbyszekcalibre zsun ddiskit -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-dev

Re: The -O3 flag leaked into sysconfig CFLAGS, should we keep it?

2024-08-14 Thread Miro Hrončok
On 14. 08. 24 11:04, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Aug 14, 2024 at 01:22:19AM +0200, Miro Hrončok wrote: On 13. 08. 24 21:45, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Aug 06, 2024 at 11:29:01AM +0200, Miro Hrončok wrote: On 06. 08. 24 1:20, Miro Hrončok wrote: Hello

Re: The -O3 flag leaked into sysconfig CFLAGS, should we keep it?

2024-08-13 Thread Miro Hrončok
On 13. 08. 24 21:45, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Aug 06, 2024 at 11:29:01AM +0200, Miro Hrončok wrote: On 06. 08. 24 1:20, Miro Hrončok wrote: Hello Pythonistas. For years, the CFLAGS embedded in Python sysconfig contained -O2 in Fedora. This was how Python was built and by

Re: The RPM pyproject Declarative Buildsystem is available in Rawhide

2024-08-13 Thread Miro Hrončok
On 25. 07. 24 23:13, Miro Hrončok wrote: However, even some infra tools that don't run on Rawhide will likely fail with a package like this (e.g. Copr or Zuul). Use this at your own risk. Koji builds SRPMs for Rawhide on Rawhide, so it works there. I just found out Koji will

Re: Default BuildOption(install) for the RPM pyproject declarative buildsystem

2024-08-13 Thread Miro Hrončok
On 22. 07. 24 19:00, Miro Hrončok wrote: On 03. 07. 24 15:00, Tomáš Orsava wrote: On 7/3/24 12:07, Miro Hrončok wrote: Hello. I am working on the RPM pyproject declarative buildsystem. t;dr it turns this: BuildSystem:  pyproject into this:     %prep     %autosetup -p1 -C

Re: The -O3 flag leaked into sysconfig CFLAGS, should we keep it?

2024-08-06 Thread Miro Hrončok
On 06. 08. 24 1:20, Miro Hrončok wrote: Hello Pythonistas. For years, the CFLAGS embedded in Python sysconfig contained -O2 in Fedora. This was how Python was built and by default, all flags used to build Python were embedded. Later, the flag was removed in Fedora 39 via this change: https

The -O3 flag leaked into sysconfig CFLAGS, should we keep it?

2024-08-05 Thread Miro Hrončok
he question is: Do we keep -O3 for user-built extension modules for speed and upstream-like experience? (I would update the -O3 change proposal.) Or do we loose the flag, as currently documented? Alternatively, do something else entirely (e.g. embed -O2, or other flag...)? -- Miro Hrončok -- Pho

The RPM pyproject Declarative Buildsystem is available in Rawhide

2024-07-25 Thread Miro Hrončok
e infra tools that don't run on Rawhide will likely fail with a package like this (e.g. Copr or Zuul). Use this at your own risk. Koji builds SRPMs for Rawhide on Rawhide, so it works there. Please experiment with this and report back how does it work for you. Happy packaging. -- Mir

Re: Default BuildOption(install) for the RPM pyproject declarative buildsystem

2024-07-24 Thread Miro Hrončok
On 24. 07. 24 6:01, Neal Gompa wrote: On Mon, Jul 22, 2024 at 1:01 PM Miro Hrončok wrote: On 03. 07. 24 15:00, Tomáš Orsava wrote: On 7/3/24 12:07, Miro Hrončok wrote: Hello. I am working on the RPM pyproject declarative buildsystem. t;dr it turns this: BuildSystem

Re: Default BuildOption(install) for the RPM pyproject declarative buildsystem

2024-07-22 Thread Miro Hrončok
On 03. 07. 24 15:00, Tomáš Orsava wrote: On 7/3/24 12:07, Miro Hrončok wrote: Hello. I am working on the RPM pyproject declarative buildsystem. t;dr it turns this: BuildSystem:  pyproject into this:     %prep     %autosetup -p1 -C     %generate_buildrequires

Re: How to pass configuration options to %pyproject_wheel

2024-07-07 Thread Miro Hrončok
g config settings to build backends"). If the project uses setuptools, you might need to use: %pyproject_wheel -C--global-option=--enable-qcas Because that's how setuptools expects configuration key=value pairs. -- Miro Hrončok --

Default BuildOption(install) for the RPM pyproject declarative buildsystem

2024-07-03 Thread Miro Hrončok
g it harder to read. Moreover, we need to apply text transformations to it anyway, hence we might as well do them on %{name} directly (which does not have clear semantics either, but is always there). - If I had to pick, I'd go with 3c. IMHO it is the m

Re: Handling --enable-experimental-jit in Python 3.13

2024-06-24 Thread Miro Hrončok
On 24. 06. 24 23:08, Fabio Valentini wrote: On Mon, Jun 24, 2024 at 3:53 PM Miro Hrončok wrote: On 17. 04. 24 18:40, Victor Stinner wrote: On Wed, Apr 17, 2024 at 2:38 PM Miro Hrončok wrote: Victor, do you think it would be possible to build in the JIT support but have a runtime opt-out

Re: Handling --enable-experimental-jit in Python 3.13

2024-06-24 Thread Miro Hrončok
On 17. 04. 24 18:40, Victor Stinner wrote: On Wed, Apr 17, 2024 at 2:38 PM Miro Hrončok wrote: Victor, do you think it would be possible to build in the JIT support but have a runtime opt-out/opt-in switch? That way, we can build it, but disable it by default, unless our users want to

Re: Fedora 41 Python 3.13 mass rebuild status

2024-06-11 Thread Miro Hrončok
ython packages in rawhide until the side tag is fully merged. Thank you for your patience. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscri

Re: [HEADS UP] Fedora 41 Python 3.13 rebuilds to start in a side tag (hopefully) next week

2024-06-10 Thread Miro Hrončok
-tag and rebuild the LLVM packages there? It works if you merge your side tag later than ours. If you merge it sooner, it breaks the world unless you untag python first (which would presumably break the Python packages built in your side tag). -- Miro Hronč

Re: [HEADS UP] Fedora 41 Python 3.13 rebuilds to start in a side tag (hopefully) next week

2024-06-06 Thread Miro Hrončok
update the rawhide repo which we use as a source of our to-build package list. If you build them right before we merge the side tag, chances are the builds won't be part of the repo in time. In that case, we will rebuild it after the merge (as well as many others). -- Miro H

Re: are pyproject rpm macros supposed to pick up the license automatically?

2024-05-29 Thread Miro Hrončok
Packagers are encouraged to use the -l flag when the %license file is not manually listed in %files to avoid accidentally losing the file in a future version. When the %license file is manually listed in %files, packagers can use the -L flag to ensure future compatibility in case the -l behavio

Re: Creating venv with latest python3.10 requires expat >= 2.6.0

2024-04-18 Thread Miro Hrončok
On 18. 04. 24 1:00, Miro Hrončok wrote: On 18. 04. 24 0:37, Miro Hrončok wrote: On 17. 04. 24 23:10, Markus Falb wrote: I wonder if there is a way to reflect that in the spec file something like: ...snip Requires: expat >= 2.6.0 snap... Yes, we need to do that. I'm on it.

Re: Creating venv with latest python3.10 requires expat >= 2.6.0

2024-04-17 Thread Miro Hrončok
On 18. 04. 24 0:37, Miro Hrončok wrote: On 17. 04. 24 23:10, Markus Falb wrote: I wonder if there is a way to reflect that in the spec file something like: ...snip Requires: expat >= 2.6.0 snap... Yes, we need to do that. I'm on it. https://src.fedoraproject.org/rpms/python3

Re: Creating venv with latest python3.10 requires expat >= 2.6.0

2024-04-17 Thread Miro Hrončok
need to always Require expat >= version of expat used when building. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to py

Re: Handling --enable-experimental-jit in Python 3.13

2024-04-17 Thread Miro Hrončok
On 17. 04. 24 14:27, Victor Stinner wrote: On Wed, Apr 10, 2024 at 8:23 PM Miro Hrončok wrote: Python 3.13 has an experimental JIT compiler: https://docs.python.org/dev/whatsnew/3.13.html#experimental-jit-compiler Enabling it is a configure (hence build-time) option. How do we handle this in

Re: RFC: Django latest vs LTS maintenance plan

2024-04-11 Thread Miro Hrončok
EPEL when the older one EOLs, but it also allows those with dependencies that are not qualified for the latest Django to swap to the LTS in Fedora I saw this and I meant to ask: Why `python-django-impl`? Why not `Conflicts: pytohn3dist(django)`? -- Miro Hrončok -- Phone: +420777974800 IRC

Re: Idea: pynose as drop-in replacement for nose

2024-04-11 Thread Miro Hrončok
On 11. 04. 24 15:05, Sandro wrote: On 11-04-2024 13:54, Miro Hrončok wrote: On 11. 04. 24 11:55, Sandro wrote: While I ponder those thoughts some more, moving forward in either direction, the next step would be writing a change proposal? I'd start by: Packaging pynose without hacks

Re: Idea: pynose as drop-in replacement for nose

2024-04-11 Thread Miro Hrončok
dist-infos). That way, pro-active packagers can switch already. And the change proposal can then describe what will be *added* to pynose, rather than describing the approach from scratch. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ p

Handling --enable-experimental-jit in Python 3.13

2024-04-10 Thread Miro Hrončok
ould be co-installable. Opinions? -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Condu

Re: Idea: pynose as drop-in replacement for nose

2024-04-10 Thread Miro Hrončok
On 10. 04. 24 17:30, Sandro wrote: On 10-04-2024 12:04, Miro Hrončok wrote: On 09. 04. 24 19:30, Sandro wrote: Therefore, I'm thinking of introducing pynose as a drop in replacement of deprecated nose. Pynose uses the same namespace as nose, but provides python3dist(pynose). Thus a

Re: Idea: pynose as drop-in replacement for nose

2024-04-10 Thread Miro Hrončok
thing. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraprojec

Re: %pyproject_buildrequires -r/-x: Attempt to read runtime dependencies from pyproject.toml?

2024-03-28 Thread Miro Hrončok
is guard. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedorapro

Orphaned python-mccabe (dependency of pylint)

2024-01-30 Thread Miro Hrončok
.fc40.src thonny-0:4.1.4-1.fc40.noarch thonny-0:4.1.4-1.fc40.src vcs-diff-lint-0:4-3.fc39.noarch vim-syntastic-python-0:3.10.0-21.fc39.noarch xr-hardware-0:1.1.0-1.fc40.src -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing

Re: Orphaning python-flit

2024-01-26 Thread Miro Hrončok
lop the project. - The user uses -core to build and install it. (Obviously a developer is free to just use -core as well, if they like it. Many upstream projects use flit-core only.) -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ pytho

Orphaning python-flit

2024-01-25 Thread Miro Hrončok
.fc39.src python-signature-dispatch-0:1.0.1-4.fc39.src python-vecrec-0:0.3.1-11.fc40.src weasyprint-0:60.2-1.fc40.src The packages would probably build fine with flit-core (happy to help with that if you are interested). -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok

Re: Broken %pyproject_buildrequires parser

2023-12-31 Thread Miro Hrončok
le. I couldn't find the relevant pip documentation about 'file:.#egg=' format. file: -> this will be a local path on the filesystem . -> the actual path #egg=rpds-py -> this package is called rpds-py (a hint to pip to know this information before actually going to the path an

Re: python packaging assistance sought for xgboost

2023-12-18 Thread Miro Hrončok
x27;t know. Try adding: [tool.hatch.build.targets.wheel] packages = ["xgboost"] to pyproject.toml. Does it help? -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraprojec

pyproject-rpm-macros 1.11.0: %pyproject_save_files gains the -l flag (and more)

2023-12-15 Thread Miro Hrončok
t.org/thread/YDIHALW766GRSYU3GL635QER2MQABML6/ -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Cod

Re: Next Wednesday: Opening up the Python Maint Fedora Bugs Triage

2023-12-13 Thread Miro Hrončok
On 06. 12. 23 13:28, Miro Hrončok wrote: Hello Pythonistas. Every other Wednesday at 14:00 Europe/Prague the Red Hat Python Maint team has a meeting at https://meet.google.com/xuj-jswy-hat The next meeting is in a week. We go trough the open Fedora Bugzillas, PRs etc. assigned to our

Heads up: dnf5 cannot handle BuildRequires with Python extras

2023-12-11 Thread Miro Hrončok
ent: python3dist(ini2toml[lite]) >= 0.9 Note that the issue is known and reported: https://github.com/rpm-software-management/dnf5/issues/1084 https://github.com/rpm-software-management/mock/issues/1267 This should block the deployment of https://fedoraproject.org/wiki/Changes/BuildWithDNF5 -

Re: python packaging assistance sought for xgboost

2023-12-11 Thread Miro Hrončok
me=xgboost-2.0.2-py3-none-linux_aarch64.whl size=1413 sha256=e77e7765ce58907708363f8e60bf96ba11abd5f66bb78c1804f59bccdd4df36d There's not much information here, but size 1413 indicates the built wheel does not really have any Python modules in it. -- Miro Hrončok -- Phone: +4

Re: python packaging assistance sought for xgboost

2023-12-10 Thread Miro Hrončok
-py3-none-manylinux2014_x86_64.whl This one actually contains an xgboost Python module. That might indicate the build step in %pyproject_wheel is somewhat broken. Without full logs, I cannot say more. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok --

Next Wednesday: Opening up the Python Maint Fedora Bugs Triage

2023-12-06 Thread Miro Hrončok
'll send a reminder. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok -- ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of

Re: I propose sphinx no longer Requires sphinxcontrib-{applehelp,devhelp,jsmath,htmlhelp,serializinghtml,qthelp}

2023-11-22 Thread Miro Hrončok
On 08. 11. 23 13:02, Miro Hrončok wrote: On 08. 11. 23 12:57, Neal Gompa wrote: Packages that need those would need to BuildRequire them specifically, as proposed in:    -https://src.fedoraproject.org/rpms/xca/pull-request/1    -https://src.fedoraproject.org/rpms/python-django-haystack/pull

Re: I propose sphinx no longer Requires sphinxcontrib-{applehelp,devhelp,jsmath,htmlhelp,serializinghtml,qthelp}

2023-11-08 Thread Miro Hrončok
/churchyard/sphinxcontrib-mandaotry/builds/ A handful of packages timed out after 5 hours in Copr, happy to fix them later if they they are impacted. Same for the packages that FTBFS now for unrelated reasons. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok

I propose sphinx no longer Requires sphinxcontrib-{applehelp,devhelp,jsmath,htmlhelp,serializinghtml,qthelp}

2023-11-08 Thread Miro Hrončok
think this needs more discussion before shipping it. (The change is only intended for Fedora 40+ and ELN.) -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an

Re: 16 packages still need a Python 3.12 rebuild, final freeze in 6 days

2023-10-02 Thread Miro Hrončok
On 02. 10. 23 15:03, Sandro wrote: On 27-09-2023 11:56, Miro Hrončok wrote: here is the list of packages that still need a Python 3.12 rebuild for Fedora 39+. Not mentioned on the list, but still pending, is the update for spyder. It's not mentioned because it does not need a Python

Re: %pyproject_save_files license handlers

2023-09-27 Thread Miro Hrončok
On 19. 08. 23 23:57, Maxwell G wrote: On Sat Aug 19, 2023 at 22:13 +0200, Miro Hrončok wrote: On 19. 08. 23 19:44, Maxwell G wrote: Hi Pythonistas, %pyproject_save_files automatically handles marking license files with %license when a build backend installs them into a package's dist

Re: 16 packages still need a Python 3.12 rebuild, final freeze in 6 days

2023-09-27 Thread Miro Hrončok
On 27. 09. 23 15:58, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Sep 27, 2023 at 11:56:01AM +0200, Miro Hrončok wrote: Hello packagers, here is the list of packages that still need a Python 3.12 rebuild for Fedora 39+. zbyszekpython-igor I retired it now in f39 and rawhide. The first

16 packages still need a Python 3.12 rebuild, final freeze in 6 days

2023-09-27 Thread Miro Hrončok
.org/updates/FEDORA-2023-ae19f823c9 python-ZEO https://bodhi.fedoraproject.org/updates/FEDORA-2023-24d588cf46 python-ZODB3 https://bodhi.fedoraproject.org/updates/FEDORA-2023-24d588cf46 Thanks for your help. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok __

Re: Questions about %pyproject_buildrequires

2023-09-13 Thread Miro Hrončok
and %pyproject_save_files will not work at all. %build pushd pkg1 %pyproject_wheel popd pushd pkg2 %pyproject_wheel popd %install # this will install both wheels: %pyproject_install # we cannot use %%pyproject_save_files here # because mixing files from multiple wheels i

Re: Looking for a new (possibly better) python-argcomplete maintainer

2023-08-30 Thread Miro Hrončok
On 23. 08. 23 13:00, Sandro wrote: On 21-08-2023 13:13, Miro Hrončok wrote: I don't want to maintain it, but pytest uses it for tests, so I don't want to be retired. Is there somebody else who would take better care of it than I do? Miro, you are way too young to "be retired

Re: %pyproject_save_files license handlers

2023-08-23 Thread Miro Hrončok
ave no way of knowing what is included in %files manually, co I am afraid this is not possible to implement. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send

Re: %pyproject_save_files license handlers

2023-08-19 Thread Miro Hrončok
sure the license is packaged (and marked as %license) while not reducing automation. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-l

  1   2   3   4   5   6   7   8   >