Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1898086

Summary: micropipenv fails to build with Python 3.10: Regex pattern Python version \d.\d
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: micropipenvAssignee: Lumír Balhar <lbalhar>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: lbalhar, mhroncok, thrnciar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: micropipenv-1.0.2-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-27 06:57:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1890881    

Description Miro Hrončok 2020-11-16 10:48:13 UTC
micropipenv fails to build with Python 3.10.0a2.

___________________ test_install_pipenv_deploy_error_python ____________________

...
E                   micropipenv.PythonVersionMismatch: Running Python version 3.10, but Pipfile.lock requires Python version 5.9

...
E               AssertionError: Regex pattern 'Running Python version \\d.\\d, but Pipfile.lock requires Python version 5.9' does not match 'Running Python version 3.10, but Pipfile.lock requires Python version 5.9'.

tests/test_micropipenv.py:357: AssertionError



This has been fixed upstream:
https://github.com/thoth-station/micropipenv/pull/141

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01767031-micropipenv/

For all our attempts to build micropipenv with Python 3.10, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/micropipenv/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/

Let us know here if you have any questions.

Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10.


micropipenv seem to have no dependent packages, so we don't need to rush a backport. I've opened this for tracking purposes.

Comment 1 Tomáš Hrnčiar 2020-11-18 09:22:29 UTC
With upstream's patch micropipenv builds allright in our Copr. 

https://copr.fedorainfracloud.org/coprs/g/python/python3.10/build/1772745/