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

[MODULES-8779] Set proper python_package_name for RHEL/CentOS 8 #1161

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

javierpena
Copy link
Contributor

mysql::bindings::python installs the package set by the
python_package_name variable, which is 'MySQL-python' by default
on all RHEL and Fedora-based systems. This is no longer valid for
RHEL 8, since there is no Python3 support for the package.

In RHEL 8, we should use python3-PyMySQL instead.

rdoproject pushed a commit to rdo-packages/puppet-mysql-distgit that referenced this pull request Feb 21, 2019
There is an open pull request to puppet-mysql [1] to add support for
RHEL 8 packages, where MySQL-python is not available. While it is
discussed, let's add it to RDO to allow progress.

[1] - puppetlabs/puppetlabs-mysql#1161

Change-Id: I5d1c4fd7812b8a3222e8ab1a96c8f220f40fda33
@eimlav
Copy link
Contributor

eimlav commented Mar 21, 2019

Hi @javierpena . Thanks for your PR! We do not currently support RedHat 8 however I have tested this change out and it appears to work as intended. Would you be able to add a ticket to your commit message? See here for more info. Cheers!

mysql::bindings::python installs the package set by the
python_package_name variable, which is 'MySQL-python' by default
on all RHEL and Fedora-based systems. This is no longer valid for
RHEL 8, since there is no Python3 support for the package.

In RHEL 8, we should use python-PyMySQL instead.
@javierpena javierpena changed the title Set proper python_package_name for RHEL/CentOS 8 [MODULES-8779] Set proper python_package_name for RHEL/CentOS 8 Mar 26, 2019
@javierpena
Copy link
Contributor Author

Thanks for the tip @eimlav. I have opened the ticket and changed the commit message to include it.

@eimlav
Copy link
Contributor

eimlav commented Mar 26, 2019

@javierpena Looks good thanks for adding these changes! :)

@eimlav eimlav merged commit 9075bc3 into puppetlabs:master Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants