Anonymous
2 years agoSDK install deprecated
Got this on a recent reinstall of logicmonitor_sdk using pip.
DEPRECATION: logicmonitor_sdk is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
The part that worries me is that pip 23.1 will enforce the pyproject.toml and given the rate that LM publishes updates the SDK, pip installs will break at some point. For me that point is pretty soon because 23.1 is the current version of pip. Luckily, I haven’t upgraded my pip from 22.3.1 to 23.1 like it’s prompting me to.
Anybody else tried pip installing it while already on 23.1? Guess I’ll mock it up in docker.
- Anonymous2 years ago
Ok, looks like it’s limited to that version of pip. Ran it in a vanilla windows environment with pip 23.1 with no warnings. Reverted to snapshot from before the python install and got the same error with pip 22.3.1.