Closed kloczek closed 10 months ago
After add tests/test_preconf.py to --ignore list pytest is failing in four units
You're using the 23.1.2 git tag? (https://github.com/python-attrs/cattrs/releases/tag/v23.1.2)
That version was still using poetry, and I see typing_extensions
is locked to 4.5.0 in the lockfile. I wonder if that's the issue. Can you try rerunning the tests with that version of typing_extensions
? In the meantime, I can run the test suite locally on 3.8.18 specifically.
You're using the 23.1.2 git tag? (https://github.com/python-attrs/cattrs/releases/tag/v23.1.2)
Yes I'm using as input source autogenerated from git tar ball.
You're using the 23.1.2 git tag? (https://github.com/python-attrs/cattrs/releases/tag/v23.1.2)
That version was still using poetry, and I see typing_extensions is locked to 4.5.0 in the lockfile. I wonder if that's the issue. Can you try rerunning the tests with that version of typing_extensions? In the meantime, I can run the test suite locally on 3.8.18 specifically.
Indeed I'm using typing_extensions
4.8.0 however nothing warned abut that it is to high version 😋
Nevertheless if use to high typing_extensions
affects only test suite severity of this issue goes down automatically.
Question is only: is it like this or not? 😋
I can confirm the typeddict tests fail on 3.8.18, typing_extensions 4.8 in v23.1.2. However they work on main
using that combination, so there's nothing to do here.
You can ignore those tests but be aware typed dicts from typing_extensions won't work properly. Remedies would be using an older version of typing_extensions, using cattrs from main
(right now is pretty stable), or waiting for 23.2.0 which is pretty close.
I'm going to close this now, feel free to reopen with new data!
Description
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulescut off from access to the public network
(pytest is executed with-m "not network"
)Here is pytest output:
Here is list of installed modules in build env