Skip to content

Comments

migrate to new python packaging#799

Merged
reece merged 16 commits intomainfrom
691-update-modernize-packaging
Nov 5, 2025
Merged

migrate to new python packaging#799
reece merged 16 commits intomainfrom
691-update-modernize-packaging

Conversation

@reece
Copy link
Member

@reece reece commented Sep 8, 2025

This PR migrates hgvs to the new python packaging.

Note: In order to get tests to pass, I also had to:

  • mark babelfish as an extra (exclude from default testing), which is appropriate for hgvs.extras.* modules anyway
  • unset HGVS_CACHE_MODE in Makefile due to an(other) obscure bug in caching behavior
  • make vcrpy record mode "none" by default

To test UX, please:

  • clone
  • Read the README.md. Note that uv must be installed globally is implemented right now.
  • rm -fr venv .venv
  • make devready
  • make test

@reece reece linked an issue Sep 8, 2025 that may be closed by this pull request
@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity.
Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale Issue is stale and subject to automatic closing label Sep 16, 2025
@reece reece removed the stale Issue is stale and subject to automatic closing label Oct 14, 2025
@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity.
Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale Issue is stale and subject to automatic closing label Oct 21, 2025
@github-actions github-actions bot removed the stale Issue is stale and subject to automatic closing label Nov 1, 2025
@codecov
Copy link

codecov bot commented Nov 2, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@reece reece marked this pull request as ready for review November 2, 2025 20:40
@reece reece requested a review from a team as a code owner November 2, 2025 20:40
andreasprlic
andreasprlic previously approved these changes Nov 5, 2025
Copy link
Member

@andreasprlic andreasprlic left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@korikuzma korikuzma left a comment

Choose a reason for hiding this comment

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

Minor comments

return {
"match_on": ["method", "uri"],
"record_mode": os.environ.get("VCR_RECORD_MODE", "new_episodes"),
"record_mode": os.environ.get("VCR_RECORD_MODE", "none"),
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm wondering if in CI we should set the mode to none and have new_episodes be the default for dev?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'd prefer to keep this change. The rationale is that most changes probably won't need new testing data, and it's good to make developers aware of code that does require new testing data.

Co-authored-by: Kori Kuzma <korikuzma@gmail.com>
@reece reece merged commit 9b32a30 into main Nov 5, 2025
13 checks passed
@reece reece deleted the 691-update-modernize-packaging branch November 5, 2025 18:49
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.

Update / modernize packaging

3 participants