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

lywsd02-0.0.9-py3.11.egg is deprecated message #37

Open
standby24x7 opened this issue Nov 9, 2023 · 0 comments
Open

lywsd02-0.0.9-py3.11.egg is deprecated message #37

standby24x7 opened this issue Nov 9, 2023 · 0 comments

Comments

@standby24x7
Copy link

OS: Fedora 37
python 3.11
pip 23.3.1
Install latest lywsd02 from git (HEAD: 364b228 )

Symptom
After I install lywsd02 from latest source, everytime I execute pip,
it makes following warning message.

$ pip list |more
DEPRECATION: Loading egg at /usr/local/lib/python3.11/site-packages/lywsd02-0.0.9-py3.11.egg
is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip
for package installation.. Discussion can be found at pypa/pip#12330

How to reproduce the issue
(1) git clone https://github.com/h4/lywsd02.git
(2) cd lywsd02
(3) sudo python ./setup.py
(4) pip list

Expected result: pip doesn't produce any warning messages.

Actual result : pip produces warning messages.

FYI
pypa/pip#12330

pip has dropped support for installing .egg distributions when it stopped invoking setup.py install.
At some point pip will abandon support for detecting and uninstalling legacy .egg distributions too.

If you reach this issue from the pip deprecation message, it is likely that your Python environment has distributions that have been installed with setup.py install, easy_install, or an older pip version.

If installing module using setup.py cause this message,
I hope you will create a newer version and upload it to https://pypi.org/project/lywsd02/

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

1 participant