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: move private file .upgraded into .venv/ folder #248

Merged
merged 6 commits into from
Jul 11, 2022

Conversation

jenstroeger
Copy link
Owner

@jenstroeger jenstroeger commented Jul 7, 2022

Closes #238 #240

And while at it, I renamed the file to upgraded-on and added a timestamp:

> cat .venv/upgraded-on 
Automatically generated by Python Package Makefile on 2022-07-07 14:13:19+10:00.

In order to make this work in CI, I also changed the Actions to create a virtual environment (see also actions/setup-python#359 (comment)) such that our Actions workflows now operate on virtual environments using the complete Makefile 👍🏼

@jenstroeger jenstroeger requested a review from behnazh July 7, 2022 04:20
Copy link
Collaborator

@behnazh behnazh left a comment

Choose a reason for hiding this comment

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

Please remove .upgraded from .gitignore.

@jenstroeger
Copy link
Owner Author

Please remove .upgraded from .gitignore.

Commit aa64af7.

@jenstroeger
Copy link
Owner Author

jenstroeger commented Jul 10, 2022

Commit 3e29176 adds a check that compares the pyproject.toml’s last modification date with that of .venv/upgraded-on, and if the .toml is newer—indicating an update to the package metadata and dependencies—warns the user.

With that in mind, I think this PR becomes more of a feat: than a chore: or refactor:?

@behnazh
Copy link
Collaborator

behnazh commented Jul 10, 2022

With that in mind, I think this PR becomes more of a feat: than a chore: or refactor:?

Yes, sounds good.

@jenstroeger jenstroeger changed the title chore: move private file .upgraded into .venv/ folder feat: move private file .upgraded into .venv/ folder Jul 10, 2022
.github/workflows/build.yaml Show resolved Hide resolved
.github/workflows/build.yaml Show resolved Hide resolved
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