Re: setuptools_scm build requirement

2022-10-03 Thread Miro Hrončok
On 03. 10. 22 22:50, Sandro wrote: I'm still using setuptools_scm[toml] as a build requirement: https://github.com/penguinpee/PyMunin3/commit/8f22eec3409711d4b7a5a5a0787859c4fd9e5120 Good. In you second link it looks like they removed it. But I think it's the other way around... They

Re: setuptools_scm build requirement

2022-10-03 Thread Sandro
On 03-10-2022 13:29, Miro Hrončok wrote: On 03. 10. 22 12:55, Sandro wrote: Regarding availability for el9, I didn't know (where to look). I looked on src.fp.o: https://src.fedoraproject.org/rpms/python-setuptools_scm There's an ancient version for el7, but nothing for el8 or el9. That

Re: setuptools_scm build requirement

2022-10-03 Thread Sandro
On 03-10-2022 19:41, Miro Hrončok wrote: On 03. 10. 22 13:30, Sandro wrote: I was following the instructions in the project's README: https://github.com/pypa/setuptools_scm#pyprojecttoml-usage It's all lies and snake oil. Upstream lists the requirement of the recent enough version in their

Re: setuptools_scm build requirement

2022-10-03 Thread Miro Hrončok
On 03. 10. 22 13:30, Sandro wrote: I was following the instructions in the project's README: https://github.com/pypa/setuptools_scm#pyprojecttoml-usage It's all lies and snake oil. Upstream lists the requirement of the recent enough version in their documentation, because the users are

Re: setuptools_scm build requirement

2022-10-03 Thread Sandro
On 03-10-2022 12:55, Sandro wrote: On 03-10-2022 12:14, Miro Hrončok wrote: On 02. 10. 22 12:10, Sandro wrote: [setuptools_scm] is currently not available for el9... But it is. It' part of the RHEL 9 CRB repository. However, also version 6.0.1. Why do you require >= 6.2 exactly? I was

Re: setuptools_scm build requirement

2022-10-03 Thread Miro Hrončok
On 03. 10. 22 12:55, Sandro wrote: Regarding availability for el9, I didn't know (where to look). I looked on src.fp.o: https://src.fedoraproject.org/rpms/python-setuptools_scm There's an ancient version for el7, but nothing for el8 or el9. That will only help with EPEL packages. To see

Re: setuptools_scm build requirement

2022-10-03 Thread Sandro
On 03-10-2022 12:14, Miro Hrončok wrote: On 02. 10. 22 12:10, Sandro wrote: [setuptools_scm] is currently not available for el9... But it is. It' part of the RHEL 9 CRB repository. However, also version 6.0.1. Why do you require >= 6.2 exactly? I was following the instructions in the

Re: setuptools_scm build requirement

2022-10-03 Thread Miro Hrončok
On 02. 10. 22 12:10, Sandro wrote: [setuptools_scm] is currently not available for el9... But it is. It' part of the RHEL 9 CRB repository. However, also version 6.0.1. Why do you require >= 6.2 exactly? Yet, thinking about the whole thing, all setuptools_scm does is calculate the version

Re: setuptools_scm build requirement

2022-10-03 Thread Lumír Balhar
Hi Sandro. You are right that without information from git repository (git tags), we cannot really use the full potential of setuptools_scm during the RPM build process. AFAIK the most popular way how to bypass the setuptools_scm mechanism is to use SETUPTOOLS_SCM_PRETEND_VERSION env

setuptools_scm build requirement

2022-10-02 Thread Sandro
Hi, I've recently submitted the python-PyMunin3 package, which has now been approved and is available in f37 and rawhide. When porting PyMunin to Python3, I also cleaned up the install process moving everything into pyproject.toml. Little did I know back then, that this would limit the