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

feat: use preferred .site_package key instead of .python for less confusion #2411

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

antazoey
Copy link
Member

What I did

Prep work for 0.9, deprecates a key and adds the other one in a non-breaking way.
In 0.9 we can fully remove now.

How I did it

How to verify it

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@@ -405,14 +405,12 @@ def _get_version_from_package_json(
return data.get("version")


# TODO: Rename to `PyPIDependency` in 0.9.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decided not going to do this one either

@antazoey antazoey changed the title refactor: deprecate .python key in dependencies; use either .site_package or .pypi feat: use preferred .site_package key instead of .python for less confusion Dec 12, 2024
@antazoey antazoey enabled auto-merge (squash) December 12, 2024 18:42
@antazoey antazoey merged commit f77cf6b into ApeWorX:main Dec 12, 2024
18 checks passed
@antazoey antazoey deleted the refactor/rename branch December 12, 2024 18:52
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

Successfully merging this pull request may close these issues.

2 participants