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

Deprecation warning when installing pyperclip under Python 3.11.0 #232

Open
bjkeefe opened this issue Oct 27, 2022 · 3 comments
Open

Deprecation warning when installing pyperclip under Python 3.11.0 #232

bjkeefe opened this issue Oct 27, 2022 · 3 comments

Comments

@bjkeefe
Copy link

bjkeefe commented Oct 27, 2022

Probably you're already aware of this, but just in case not ...

I just installed Python 3.11.0, and next went to install pyperclip, using pip 22.3. Got a deprecation warning from pip about having to use a legacy method. See attached screenshot. Basically, it looks like pip wants you to use a project.toml file and a wheel package.

hth! And thanks, as always, for pyperclip.

pyperclip-warning

@hugovk
Copy link
Contributor

hugovk commented Nov 20, 2022

I believe you can work around this locally by installing wheel yourself.

But both your suggestions are good, and see #213 for uploading a wheel to PyPI.

@bjkeefe
Copy link
Author

bjkeefe commented Nov 21, 2022

Thanks, @hugovk. I am happy enough for the moment to have pyperclip installed. I just thought @asweigart might want to know about this for his own packaging purposes.

@dougransom
Copy link

This issue could easily be resolved by replacing setuptools with flit as the build system.

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

3 participants