15
0

Accepting request 813433 from home:Rotkraut:branches:openSUSE:Factory

- 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.

OBS-URL: https://build.opensuse.org/request/show/813433
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysql-connector-python?expand=0&rev=18
This commit is contained in:
Tomáš Chvátal
2020-06-11 11:29:09 +00:00
committed by Git OBS Bridge
parent 9651d19be7
commit cf97cdccc0
3 changed files with 18 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 11 09:01:23 UTC 2020 - Rolf Krahl <rolf@rotkraut.de>
- Add requirement on python-dnspython and python-protobuf (bsc#1172784)
- Add remove-require-version-constraint.patch
-------------------------------------------------------------------
Wed Mar 18 15:46:24 UTC 2020 - Dirk Mueller <dmueller@suse.com>