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

Regression in support for Python 3.6 as well as 3.7 in 1.0.7 release #257

Open
nkaminski opened this issue Oct 18, 2024 · 1 comment
Open

Comments

@nkaminski
Copy link

As of the latest release on PyPi, I have observed that this package indicates support for Python >=3.6 in its package metadata, however is presently only compatible with Python versions 3.8 or later after the introduction of commit 377c70d

Therefore, would it be possible to either:

@rillbert
Copy link

Maybe I'm missing someting in my setup but it doesn't work in my 3.8 setup either.

The type hints in the environment.py file from the commit indicated in the previous comment makes it impossible for me to run shiv at all.

A possible work-around (it works in my, so-far limited, testing) is to add the line:
from __future__ import annotations
as the first code line in environment.py.

(as mentioned here: https://stackoverflow.com/a/75317316)

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

No branches or pull requests

2 participants