Re: Heads up: tox 4 in Rawhide buildroot

2023-01-17 Thread Miro Hrončok

On 11. 01. 23 15:59, Miro Hrončok wrote:
 > Successfully waited 0:00 for python-tox-4.2.6-1.fc38 to appear in the 
f38-build repo.


If you hit unexpected issues with %tox, let us know here or in Bugzilla.


First gotcha:

tox 4 no longer fails without configuration:

$ tox --print-deps-to -
ROOT: No tox.ini or setup.cfg or pyproject.toml found, assuming empty tox.ini 
at .../patiencediff-0.2.12

tox
  py: OK (0.01 seconds)
  congratulations :) (0.04 seconds)
$ echo $?
0

So packages that us:

  %generate_buildrequires
  %pyproject_buildrequires -t

Without any tox configuration at all will now simply BuildRequire tox and 
tox-current-env for no good reason, instead of failing :/


--
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.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Version number of python-future

2023-01-17 Thread Antonio T. sagitter

Thank you

On 16/01/23 06:19, Lumír Balhar wrote:

Hi Antonio.

The problem is in the project metadata. When I open the SRPM this 
package is built from and the take a look at the source tarball, I find 
this in the src/future/__init__.py:


__ver_major__ = 0
__ver_minor__ = 18
__ver_patch__ = 2

So it seems that they released version 0.18.3 with the wrong version in 
this file. This is already fixed upstream and when I download the 
tarball again, it also has a different hash.


I did a mock rebuild with the new tarball and the result contains:

Provides: future = 0:0.18.3-2.fc38 future-python3 = 0:0.18.3-2.fc38 
python-future = 0.18.3-2.fc38 python3-future = 0.18.3-2.fc38 
python3.11-future = 0.18.3-2.fc38 python3.11dist(future) = 0.18.3 
python3dist(future) = 0.18.3


Have a nice day.

Lumír

On 1/13/23 21:52, Antonio T. sagitter wrote:


Hi all.

Latest release of `future`, the 0.18.3 
(https://koji.fedoraproject.org/koji/rpminfo?rpmID=32957279), is 
generating


future = 0:0.18.3-2.fc38
future-python3 = 0:0.18.3-2.fc38
python-future = 0.18.3-2.fc38
python3-future = 0.18.3-2.fc38
python3.11-future = 0.18.3-2.fc38
python3.11dist(future) = 0.18.2    <---
python3dist(future) = 0.18.2  <---

Can you help to understand why?

Regards.

--
---
Antonio Trande
Fedora Project
mailto:sagit...@fedoraproject.org
GPG key: 0x40FDA7B70789A9CD
GPG keys server:https://keyserver.dcc.sib.swiss/

___
python-devel mailing list --python-devel@lists.fedoraproject.org
To unsubscribe send an email topython-devel-le...@lists.fedoraproject.org
Fedora Code of 
Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
List 
Archives:https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report 
it:https://pagure.io/fedora-infrastructure/new_issue


--
---
Antonio Trande
Fedora Project
mailto: sagit...@fedoraproject.org
GPG key: 0x40FDA7B70789A9CD
GPG keys server: https://keyserver.dcc.sib.swiss/


OpenPGP_signature
Description: OpenPGP digital signature
___
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.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue