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

Fix dists #736

Merged
merged 5 commits into from
Jan 4, 2025
Merged

Fix dists #736

merged 5 commits into from
Jan 4, 2025

Conversation

Adamtaranto
Copy link
Collaborator

@Adamtaranto Adamtaranto commented Jan 4, 2025

Work in Progress. Do not merge yet.

Wheel and Tarball produced by hatch build were not pip installable.

wheel

  • Need to include cython modules

tarball

  • Include setup.py and build.py
  • Include jcvi package dir inside 'src' so that setup.py can find the cython modules to build.

@Adamtaranto
Copy link
Collaborator Author

I think it's all working. Please test.

@Adamtaranto Adamtaranto self-assigned this Jan 4, 2025
@Adamtaranto Adamtaranto requested a review from tanghaibao January 4, 2025 12:03
@Adamtaranto Adamtaranto added the bug label Jan 4, 2025
@Adamtaranto Adamtaranto changed the title WIP: Fix dists Fix dists Jan 4, 2025
Copy link
Owner

@tanghaibao tanghaibao left a comment

Choose a reason for hiding this comment

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

Thank you @Adamtaranto!

image

Comparing the dist before the refactoring (1.4.24) and after the refactor (1.4.25..):

  1. It seems that the new source tarball ships with .so (compiled on my mac), where it should be source only
  2. The wheel contains the .so, which is expected, however it is not named accordingly.

So I don't think these dist would work on linux, since the shipped so doesn't work on them (hence I can't release it to PyPI yet). I'll try find a linux to test.

Merging this for now since the fix is now working on mac at least.

@tanghaibao tanghaibao merged commit b3438a1 into main Jan 4, 2025
13 checks passed
@tanghaibao tanghaibao deleted the fix_dists branch January 4, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants