Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add py version to dependencies #1362

Closed
wants to merge 1 commit into from
Closed

Conversation

sjg20
Copy link
Contributor

@sjg20 sjg20 commented Apr 14, 2024

This seems to need a later version than is present on my system, without which 'tox -r' fails.

Add an explicit dependency for version 1.11 which I believe is the minimum version with the py.io feature.

Fixes #1361

(none of the template seems to be relevant for this fix)

This seems to need a later version than is present on my system,
without which 'tox -r' fails.

Add an explicit dependency for version 1.11 which I believe is the
minimum version with the py.io feature.

Fixes labgrid-project#1361

Signed-off-by: Simon Glass <[email protected]>
@Bastian-Krause
Copy link
Member

Adding py as a dependency seems like the wrong approach here. py is a compatibility library that is not needed on modern installations anymore.

Your traceback in #1361 tells me you're probably using tox from Debian bullseye (oldstable). I suggest installing tox via pipx. With a recent tox version, you should not run into this issue anymore.

@sjg20
Copy link
Contributor Author

sjg20 commented Apr 20, 2024

OK I will drop this

@sjg20 sjg20 closed this Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tox: AttributeError: module 'py' has no attribute 'io'
2 participants