Skip to content

Improve Python's site-packages directory detection for Python's pre-r…#515

Merged
opdenkamp merged 1 commit intoPulse-Eight:masterfrom
stratakis:python_dirs
Jul 13, 2020
Merged

Improve Python's site-packages directory detection for Python's pre-r…#515
opdenkamp merged 1 commit intoPulse-Eight:masterfrom
stratakis:python_dirs

Conversation

@stratakis
Copy link
Contributor

The regex utilized for structuring the python site-packages directory name is buggy for Python's pre-releases, as the version string will contain a, b, or rc for alpha, beta and release candidate respectively. However the site-packages dir always contains just the version.

Detected downstream on Fedora, as we updated to the first beta of Python 3.9 for the development version of the OS: https://bugzilla.redhat.com/show_bug.cgi?id=1791947

@opdenkamp
Copy link
Contributor

thanks, never bumped into this one :)

@opdenkamp opdenkamp merged commit b42fad0 into Pulse-Eight:master Jul 13, 2020
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.

2 participants