Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pathfix usage in spec #2005

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Conversation

jan-cerny
Copy link
Member

Python 3.12 removes the pathfix utility but in Fedora it's just moved to python3-rpm-macros.

Fixes broken build and broken CI on Rawhide.

Described in: https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed
Similar to: https://src.fedoraproject.org/rpms/openscap/pull-request/17#request_diff

Fixes: #1997

@jan-cerny jan-cerny added this to the 1.3.9 milestone Jul 20, 2023
@jan-cerny
Copy link
Member Author

It fixed the build on Rawhide; but the testing farm has a different problem.

Python 3.12 removes the pathfix utility but in Fedora it's just moved to
python3-rpm-macros.

Fixes broken build and broken CI on Rawhide.

Described in: https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed
Similar to: https://src.fedoraproject.org/rpms/openscap/pull-request/17#request_diff

Fixes: OpenSCAP#1997
@jan-cerny jan-cerny marked this pull request as ready for review August 22, 2023 07:53
@jan-cerny
Copy link
Member Author

I have rebased this PR on the top of the latest upstream maint-1.3 branch.

@evgenyz
Copy link
Contributor

evgenyz commented Aug 29, 2023

LGTM. Thanks!

@evgenyz evgenyz merged commit ed91feb into OpenSCAP:maint-1.3 Aug 29, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The pathfix.py is going away from Python
2 participants