Python DB API 2.0 Module for ODBC
Go to file
Miro Hrončok 1e5025516d Fix version in the Python package metadata
The version was 4.0.0-unsupported which is both incorrect data
and invalid Python package version and will fail with python-packaging 22+.

In the meantime, upstream made the fallback version valid:
996fce118e
But that does not help us provide correct metadata.

The logic in setup.py tries to use `git describe` (which fails because there is no git repo)
or to parse PKG-INFO from sdist (which fails because this package does not build from sdist)
to get the version.

Creating a stub PKG-INFO file with just the version appears to work fine.
To make sure it keeps working with future versions of pyodbc,
the %files section was made much more explicit,
which is required by the Python package guidelines (to some extent) anyway.
2023-01-25 12:30:19 +01:00
.fmf Enable ci tests 2022-03-18 09:24:35 +01:00
.gitignore Rebase onto v4.0.30 2020-10-02 13:44:41 +02:00
ci.fmf Enable ci tests 2022-03-18 09:24:35 +01:00
pyodbc-4.0.30-PyUnicode_AsUTF8String.patch Fix build with Python 3.11 error PyUnicode_EncodeUTF8 2022-06-28 17:55:58 +02:00
pyodbc.spec Fix version in the Python package metadata 2023-01-25 12:30:19 +01:00
sources Rebase onto v4.0.30 2020-10-02 13:44:41 +02:00