FS#75733 - [python-clikit] New crashtest is out of allowed dependency range

Attached to Project: Community Packages
Opened by Felix Yan (felixonmars) - Monday, 29 August 2022, 20:56 GMT
Last edited by Caleb Maclennan (alerque) - Wednesday, 19 October 2022, 09:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
In /usr/lib/python3.10/site-packages/clikit-0.6.2.dist-info/METADATA:
Requires-Dist: crashtest (>=0.3.0,<0.4.0); python_version >= "3.6" and python_version < "4.0"

And crashtest was updated to 0.4.0.

This breaks poetry when invoking via python-build:

ERROR Missing dependencies:
poetry>=0.12
crashtest (>=0.3.0,<0.4.0)
poetry>=0.12
clikit (>=0.6.2,<0.7.0) -> crashtest (>=0.3.0,<0.4.0)
This task depends upon

Closed by  Caleb Maclennan (alerque)
Wednesday, 19 October 2022, 09:45 GMT
Reason for closing:  Fixed
Comment by Caleb Maclennan (alerque) - Wednesday, 31 August 2022, 08:02 GMT
Per suggestion from anthraxx I'm going to relax the pinning on poetry. If this still causes trouble I'll look into downgrading crashtest.
Comment by Caleb Maclennan (alerque) - Wednesday, 31 August 2022, 08:10 GMT
Version pinning of crashtest relaxed on poetry and clikit. I'm not exactly sure what to test here to make sure that fixed things. Can somebody either confirm this is now fixed or suggest what I should try building that was broken before?
Comment by Felix Yan (felixonmars) - Wednesday, 31 August 2022, 10:05 GMT
Thanks. This particular problem is gone now, but poetry is still broken due to multiple version mismatches of our packages:

/usr/lib/python3.10/site-packages/poetry-1.2.0.dist-info/METADATA:
Requires-Dist: cachecontrol[filecache] (>=0.12.9,<0.13.0)
Requires-Dist: cleo (>=1.0.0a5,<2.0.0)
Requires-Dist: poetry-plugin-export (>=1.0.6,<2.0.0)

Our packages:
python-cachecontrol 1:0.12.6-4
python-cleo 0.8.1-4
python-poetry-plugin-export not in the repos

Easy way to test:
Make a new dir and write the following to pyproject.toml:
[build-system]
requires = ["poetry"]

Then run our usual build command:
python -m build -nw

Error message:
ERROR Missing dependencies:
poetry
cachecontrol[filecache] (>=0.12.9,<0.13.0)
poetry
cleo (>=1.0.0a5,<2.0.0)
poetry
poetry-plugin-export (>=1.0.6,<2.0.0)
Comment by Francesco Minnocci (BachoSeven) - Thursday, 01 September 2022, 20:43 GMT
Can confirm the issue when trying to build packages with poetry, I tried writing a PKGBUILD for a project using

```
python -m build --wheel --no-isolation
```

in build() and got

* Getting dependencies for wheel...

```
ERROR Missing dependencies:
poetry>=0.12
dulwich (>=0.20.44,<0.21.0)
poetry>=0.12
cleo (>=1.0.0a5,<2.0.0)
poetry>=0.12
poetry-plugin-export (>=1.0.6,<2.0.0)
```
Comment by Felix Yan (felixonmars) - Friday, 02 September 2022, 17:55 GMT
Should have been fixed now. Please retry with python-poetry >= 1.2.0-5.

Loading...