Open cjolowicz opened 4 years ago
Updating generated projects with changes from the template
Just curious, have you evaluated libraries like cruft/cruft and copier-org/copier? Do they fall short in delivering this feature?
Excellent native Windows support including step-by-step documentation
What contributions are needed here? Could't see any issues in the milestones. We are trying out hypermodern in a fairly locked-down Windows 10 setup (no WSL) and so far everything just works! I notice the docs recommend going straight for WSL/ubuntu but that hasn't been necessary here so far. Happy to contribute docs or whatever workarounds prove necessary.
@jooh thank you for the feedback! I was hoping that the only thing that needs updating would be the docs, specifically the section about local development with multiple versions of Python. To my knowledge, all that's needed on Windows for this to work is installing the official binaries from python.org, as Nox will find them via the Windows Python Launcher (py).
Updating generated projects with changes from the template
Just curious, have you evaluated libraries like cruft/cruft and copier-org/copier? Do they fall short in delivering this feature?
@paw-lu Sorry for letting a year pass by without responding to this. I think both are excellent tools, and worth using. I have also been working on my own tool, which is not quite ready for a public announcement. I wanted to have something that is compatible with Cookiecutter, but not built on top of it, and that has a smooth workflow for importing individual changesets from templates into projects ("cherry-picking"). I'm being sketchy here, it's kinda early to talk about this :wink:
Sorry for letting a year pass by without responding to this.
Absoultley nothing to be sorry for! I think it's understood that we all have a backlog of messages.
I have also been working on my own tool, which is not quite ready for a public announcement.
Pretty sure I know what repo this is referring too, and I'm excited to try it out whenever you are ready to share!
Hi @jooh #1087 updates the User Guide to cover native Windows development. Let me know if there's anything missing or inaccurate.
Edit: Read the Docs build for the PR is here.
I have found this template has been extremely useful over the last few years, especially the community that has been built around it and the updates. However, poetry is not aging well for my use:
^X.X.X
to >=X.X.X
every time I add a dependency. Frequently the only way to get a dependency updated is by deleting and re-adding it, or by tracking down the offender. I'm pretty annoyed at having to pin my python version as <3.12 just because pandas typedefs aren't ready to support 3.12 quite yet or have my builds break; I have better things to do with my time than update max versions.Ideally, the choice of pdm or poetry and pdm backends would be a cookiecutter-time choice, along the lines of plugins that I suggested. However, the deficiencies of cruft becomes more apparent to me with each update. Effort to update multiple projects based on the same cookiecutter template updated looks increasingly multiplicative than additive. Copier looks increasingly attractive in this regard, though I don't have any experience with it.
So, does the roadmap for this project look aggressively modern, or keeping what is working?
This Cookiecutter template is currently in alpha, and expected to change significantly in terms of features and maturity. This umbrella issue provides a high-level overview of things that need to happen before we can leave alpha stage. For now, this is rather sketchy and incomplete, but hopefully better than nothing.
Here are some high-level features and fixes that are on the roadmap:
1077
254
Move Nox-Poetry integration into a package on PyPI567
570
562
440
For a detailed schedule of issues and PRs, see the milestones.