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
convert_path
is not part of setuptools API and will be removed
#1219
Comments
Hi Thank you for noting that @abravalheri! The CK framework is archived and we do not update it unless requested by users, but this deprecation influence our new CM framework here. Do you know if there is an alternative from distutils? Should I do something like this code to import it (while keeping backward compatibility for older systems with setuptools)? Thank you! |
Hi @gfursin, I find that This is the description of the function:
But most of the Python functions nowadays already allow you to use Other than that, the function also raises an error if the path is absolute or if it ends in |
I see that in this particular long_description=open(convert_path('./README.md'),
encoding="utf-8").read(), which probably will work just fine if you replace |
Cool! Thank you for the update. Let me check it this week! |
…automations and entries - removed outdated convert_path (#1219)
I removed convert_path from the CM framework. Are you using CK framework? If not, I prefer not to touch it until it really fails in the future ;) ... |
Hi @gfursin, thank you for taking a look on this. No, I am not working with CK. I am working on removing deprecated parts from setuptools. |
CM v2.2.0 release: - fixed detection of a CM artifact using 'cm info .' when inside virtual env entries. - added "cmind.utils.debug_here" function to attach remote Python debugger and tested with Visual Studio Code. - added test to avoid checking out CM repo that was not pulled - added utils.safe_load_json to return empty dict if file doesn't exist - added utils.compare_versions to check min version requirements for automations and entries - removed outdated convert_path (#1219) - added utils.check_if_true_yes_on (#1216) - check "min_cm_version" in CM automations and CM scripts (use _cm.yaml or _cm.json)
CM v2.2.0 release: - fixed detection of a CM artifact using 'cm info .' when inside virtual env entries. - added "cmind.utils.debug_here" function to attach remote Python debugger and tested with Visual Studio Code. - added test to avoid checking out CM repo that was not pulled - added utils.safe_load_json to return empty dict if file doesn't exist - added utils.compare_versions to check min version requirements for automations and entries - removed outdated convert_path (#1219) - added utils.check_if_true_yes_on (#1216) - check "min_cm_version" in CM automations and CM scripts (use _cm.yaml or _cm.json)
Sure. Thanks for noting the issue! Then the CM project should be fine but we keep CK archived for now. I will close this issue! |
CM v2.2.0 release: - fixed detection of a CM artifact using 'cm info .' when inside virtual env entries. - added "cmind.utils.debug_here" function to attach remote Python debugger and tested with Visual Studio Code. - added test to avoid checking out CM repo that was not pulled - added utils.safe_load_json to return empty dict if file doesn't exist - added utils.compare_versions to check min version requirements for automations and entries - removed outdated convert_path (#1219) - added utils.check_if_true_yes_on (#1216) - check "min_cm_version" in CM automations and CM scripts (use _cm.yaml or _cm.json)
CM v2.2.0 release: - fixed detection of a CM artifact using 'cm info .' when inside virtual env entries. - added "cmind.utils.debug_here" function to attach remote Python debugger and tested with Visual Studio Code. - added test to avoid checking out CM repo that was not pulled - added utils.safe_load_json to return empty dict if file doesn't exist - added utils.compare_versions to check min version requirements for automations and entries - removed outdated convert_path (#1219) - added utils.check_if_true_yes_on (#1216) - check "min_cm_version" in CM automations and CM scripts (use _cm.yaml or _cm.json)
…automations and entries - removed outdated convert_path (mlcommons/ck#1219)
CM v2.2.0 release: - fixed detection of a CM artifact using 'cm info .' when inside virtual env entries. - added "cmind.utils.debug_here" function to attach remote Python debugger and tested with Visual Studio Code. - added test to avoid checking out CM repo that was not pulled - added utils.safe_load_json to return empty dict if file doesn't exist - added utils.compare_versions to check min version requirements for automations and entries - removed outdated convert_path (mlcommons/ck#1219) - added utils.check_if_true_yes_on (mlcommons/ck#1216) - check "min_cm_version" in CM automations and CM scripts (use _cm.yaml or _cm.json)
CM v2.2.0 release: - fixed detection of a CM artifact using 'cm info .' when inside virtual env entries. - added "cmind.utils.debug_here" function to attach remote Python debugger and tested with Visual Studio Code. - added test to avoid checking out CM repo that was not pulled - added utils.safe_load_json to return empty dict if file doesn't exist - added utils.compare_versions to check min version requirements for automations and entries - removed outdated convert_path (mlcommons/ck#1219) - added utils.check_if_true_yes_on (mlcommons/ck#1216) - check "min_cm_version" in CM automations and CM scripts (use _cm.yaml or _cm.json)
CM v2.2.0 release: - fixed detection of a CM artifact using 'cm info .' when inside virtual env entries. - added "cmind.utils.debug_here" function to attach remote Python debugger and tested with Visual Studio Code. - added test to avoid checking out CM repo that was not pulled - added utils.safe_load_json to return empty dict if file doesn't exist - added utils.compare_versions to check min version requirements for automations and entries - removed outdated convert_path (mlcommons/ck#1219) - added utils.check_if_true_yes_on (mlcommons/ck#1216) - check "min_cm_version" in CM automations and CM scripts (use _cm.yaml or _cm.json)
CM v2.2.0 release: - fixed detection of a CM artifact using 'cm info .' when inside virtual env entries. - added "cmind.utils.debug_here" function to attach remote Python debugger and tested with Visual Studio Code. - added test to avoid checking out CM repo that was not pulled - added utils.safe_load_json to return empty dict if file doesn't exist - added utils.compare_versions to check min version requirements for automations and entries - removed outdated convert_path (mlcommons/ck#1219) - added utils.check_if_true_yes_on (mlcommons/ck#1216) - check "min_cm_version" in CM automations and CM scripts (use _cm.yaml or _cm.json)
Importing
setuptools.convert_path
has been deprecated for almost 2 years and is about to be removed.ck/ck/setup.py
Line 25 in baf3402
ck/ck/incubator/cbench/setup.py
Line 11 in baf3402
ck/ck/incubator/cdatabase/setup.py
Line 6 in baf3402
In the past
setuptools
would importconvert_path
from one of its dependencies for internal use, but that is no longer true.The text was updated successfully, but these errors were encountered: