Skip to content

Conversation

JeanChristopheMorinPerso
Copy link
Member

This PR fixes the sdist that is uploaded to PyPI.

The problem was reported in https://app.slack.com/client/TKA297NS0/CMQ9J4BQC.

The issue was simply that I forgot to tell GHA to recursively clone and checkout the submodules.

I tested locally by downloading the GHA artifact from my fork and installed the sdist.

@JeanChristopheMorinPerso
Copy link
Member Author

I am tempted to add a test for installing from the sdist... Should I add one?

Copy link
Collaborator

@reinecke reinecke left a comment

Choose a reason for hiding this comment

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

Validated on my machine and works great!

@reinecke reinecke changed the title Fix sdist: Recursively get submodules before generating the sdist Update sdist to include submodules Nov 19, 2021
@reinecke reinecke merged commit 1325927 into AcademySoftwareFoundation:main Nov 19, 2021
@JeanChristopheMorinPerso JeanChristopheMorinPerso deleted the fix_sdist branch November 20, 2021 16:39
reinecke pushed a commit to reinecke/OpenTimelineIO that referenced this pull request Nov 24, 2021
meshula pushed a commit that referenced this pull request Nov 24, 2021
* Recursively get submodules before generating the sdist (#1152)

* Run python package action on release branches as well as main.

Co-authored-by: Jean-Christophe Morin <[email protected]>
@ssteinbach ssteinbach added this to the Public Beta 15 milestone Sep 19, 2022
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.

3 participants