Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Updated distutils.Version to packaging.Version
Fix warnings holoviz/holoviews#5470
Resolve deprecation warnings on Kedro CLI kedro-org/kedro#2202
Merge branch 'master' into change_version
Long story short, distutils was deprecated in Python 3.10 https://peps.python.org/pep-0632/ and is slated for removal in Python 3.12 python/cpython#99061
https://github.com/plotly/plotly.py/blob/master/packages/python/plotly/codegen/__init__.py#L273
Hehe so I just realized that this PR modified auto-generated code... I'll need to modify the source of that code-gen process for these changes to stick: https://github.com/plotly/plotly.py/blob/master/packages/python/plo
Update codegen with packaging.Version changes #4055
That's right: pypa/packaging#500 I think pip will pick up the right version in this case
LooseVersion is deprecated, use packaging.version instead
Successfully merging this pull request may close these issues.