Skip to content

__about__.py "version" field automatically updated (unwanted behavior) #9181

Discussion options

You must be logged in to vote

After a few days of my investigation, it turned out that it's not from any extensions but from our script in .github/:
https://github.com/PyTorchLightning/pytorch-lightning/blob/83ce1bf5158c4c03f7811e385624bbd903cd9c5f/.github/prepare-nightly_version.py#L13

I locally confirmed that $ pytest in the project root directory will run all the scripts matching *.py except for those in the excluded directories, and thus it also runs the above file. Not sure why everyone doesn't experience this issue, but I'll submit a fix anyway.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@daniellepintz
Comment options

@akihironitta
Comment options

@daniellepintz
Comment options

Comment options

You must be logged in to vote
1 reply
@daniellepintz
Comment options

Answer selected by akihironitta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment