-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Using Poetry with Python ^3.10 #5157
Comments
It seems this PR #5155 is the solution |
Hello @ethanscorey, it is not clear where this warning comes from. How did you install poetry? fin swimmer |
I used the osx / linux / bashonwindows install instructions from the officials docs (https://python-poetry.org/docs/): For what it's worth, I just tried installing poetry on a Windows machine using the powershell install instructions, and I did not get the same warning message, even though I was using the same versions of poetry and Python (1.1.12 and 3.10.2, respectively). I'm realizing I should have mentioned in my original report that I installed Python 3.10 using miniconda, although I didn't think miniconda was the issue since I don't get the warning if I use Python 3.9 as my conda environment's interpreter. |
I'm seeing the same issue using poetry and miniconda with python 3.8. I'm able to reproduce in a new conda env containing only the installed python. Poetry was installed using
|
This has continued to bug me, so I've been doing some more poking around. The @finswimmer or someone else more familiar with the Poetry codebase, do you know of some reason there would be a call to |
Looks like this is still an issue present in the master branch (6485bc2). I printed a few frames, and this seems to indicate there is call to setuptools in env.py
Cleaned up version:
|
I can only guess what happens and my guess is that this message is triggered by a dependency used by poetry. The reason why I cannot reproduce it might be that my installation have a more recent version of this dependency. Please reinstall poetry via the recommended |
Installing via the |
I was getting this warning from Poetry 1.1.9. Doing |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
I wanted to use poetry for a new Python project, but upgrading my Python interpreter to 3.10.2 seems to have caused a minor bug. Now, whenever I run any command with Poetry, I get the following output:
~$ poetry -V /home/ethan/miniconda3/envs/foo/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( Poetry version 1.1.12
Besides that warning, everything seems to work fine, but it's annoying to see that warning in the output every time I run a command. If I add the
-vvv
option to get debug output, I don't see any traceback. Any idea what's going on/how to fix?The text was updated successfully, but these errors were encountered: