[CONPY-234] mariadb-1.1.5 doesn't build from source on Linux: Missing `packaging` dependency Created: 2022-11-07 Updated: 2022-11-08 Resolved: 2022-11-08 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Build |
| Affects Version/s: | 1.1.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Brénainn Woodsend | Assignee: | Georg Richter |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
GNU/Linux 6.0.2-2-MANJARO x86_64 |
||
| Issue Links: |
|
||||||||
| Python Version: | 3.10.4 | ||||||||
| Description |
|
This commit which uses the non-stdlib packaging library at build time now breaks anyone trying to install on POSIX from source.
Fortunately, the fix is easy. I see this commit adding packaging as a runtime dependency only which isn't enough. To add a build-time dependency, create a pyproject.toml containing:
Then pip automagically ensures that packaging is downloaded before trying to execute the setup.py. |