python-mysql-connector-python

Edit Package python-mysql-connector-python
No description set
Refresh
Refresh
Source Files
Filename Size Changed
mysql-connector-python-8.0.19.tar.gz 0012051609 11.5 MB
python-mysql-connector-python.changes 0000010329 10.1 KB
python-mysql-connector-python.spec 0000002266 2.21 KB
remove-require-version-constraint.patch 0000000446 446 Bytes
Revision 18 (latest revision is 21)
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 813433 from Rolf Krahl's avatar Rolf Krahl (Rotkraut) (revision 18)
- Add requirement on python-dnspython and python-protobuf (bsc#1172784)
- Add remove-require-version-constraint.patch

Add requirement on python-dnspython and python-protobuf. This fixes bsc#1172784.

See the last line in setupinfo.py in the sources:
> install_requires = ["protobuf==3.6.1", "dnspython==1.16.0"]

Import 'mysql.connector' will fail if python-dnspython is not installed, see the referenced bug report. Import 'mysqlx.protobuf' will fail if python-protobuf is not installed.

I assume one can just ignore the exact version constraints indicated in the source package, at least the package works fine for me using the standard packages from the distribution having slightly different versions. This request therefore adds a patch that removes these version constraints.
Comments 0
openSUSE Build Service is sponsored by