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

Run make upgrade automatically when running a cookiecutter #337

Open
7 tasks
timmc-edx opened this issue May 10, 2023 · 1 comment
Open
7 tasks

Run make upgrade automatically when running a cookiecutter #337

timmc-edx opened this issue May 10, 2023 · 1 comment

Comments

@timmc-edx
Copy link
Contributor

timmc-edx commented May 10, 2023

The README of each cookiecutter lists make upgrade as a separate post-run setup step. However, this could be done automatically by the post-gen hooks.

  • Every layered cookiecutter (that is, all but python-template) includes make upgrade in a post-gen hook
    • Add shared code that all post-gen hooks can use (future: move duplicate stuff from post-gen hooks into shared code area)
    • Shared code should allow creating a virtualenv for running make upgrade in
    • Virtualenv should be deleted by end of setup
  • READMEs updated to remove the mention of make upgrade
  • Unit tests for all layered cookiecutters check that a fresh virtualenv supports make requirements
  • Issues filed for any other steps that can and should be automated
@zameel7
Copy link

zameel7 commented Jul 4, 2024

Running make upgrade on Mac M1 had issues. To solve that, I had to do:

  • brew install mysqlclient pkg-config

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

No branches or pull requests

2 participants