-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Deprecation warning about "pyproject.toml" when installing sgp4 #128
Comments
I'm glad that you were able to get it installed! I am kind of dreading the day when I finally have to sit down and try writing TOML, based on what I've seen written about the process: https://discuss.python.org/t/user-experience-with-porting-off-setup-py/37502/3 https://gregoryszorc.com/blog/2023/10/30/my-user-experience-porting-off-setup.py/ I think the complaint about the Do you know why a wheel wasn't downloaded and installed in the first place? Is your version of Python one that's not provided with a wheel in the sgp4 files on PyPI? If so then maybe we could try fixing that! |
I think using the In terms of building the wheel: I didn't. Just installed straight from To me, the warning is simply stating "use Regardless, as mentioned already, using As to your looming dread in migrating from As for this issue, I'm happy for you to close it...unless you want to use it as a reminder in the far future to migrate to |
Thanks for the additional thoughts and information! Let's keep the issue open, so that other folks who happen to see the same warning won't have to open new issues each time. |
When installing
sgp4
onDebian 12
under avenv
I got the following warning:I didn't think much of it until I then ran my script and got the terminal output:
So I then tried:
and my script worked. I then wrote a small test script to reproduce the issue (in a fresh
venv
):which unexpectedly prints
True
when executed (I assumed I would get theModuleNotFoundError
). I suspect caching is the culprit, so I uninstalled/reinstalledsgp4
(using the--no-cache-dir
option) and I still got aTrue
result.So...
Apologies as I hoped I could at least provide a test script which reproduced the
ModuleNotFoundError
. I suspect caching on my system prevents me from consistently reproducing theModuleNotFoundError
.Although I managed to get around the
ModuleNotFoundError
by using--use-pep517
, I suspect this is a temporary worrkaround (presumablysetup.py
will need to be switched topyproject.toml
).A wheel must be being built, as
sgp4
is uploaded toPyPI
so I am unsure what the original deprecation warning means when stating "the 'wheel' package is not installed".The text was updated successfully, but these errors were encountered: