-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Nix flake #696
Conversation
Fast-forward commitizen configuration from #696 to let me publish a new release with the changelog easily now.
FTR I added a poll for Copier contributors in #757. |
pre-commit started failing with: ``` [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... An unexpected error has occurred: AssertionError: BUG: expected environment for python to be healthy immediately after install, please open an issue describing your environment more info: virtualenv python version did not match created version: - actual version: 3.10.6.final.0 - expected version: 3.10.4.final.0 ``` Quick fix while #696 gets on track. Sadly I had to rollback #752 due to PyCQA/isort#1945.
pre-commit started failing with: ``` [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... An unexpected error has occurred: AssertionError: BUG: expected environment for python to be healthy immediately after install, please open an issue describing your environment more info: virtualenv python version did not match created version: - actual version: 3.10.6.final.0 - expected version: 3.10.4.final.0 ``` Quick fix while #696 gets on track. Sadly I had to rollback #752 due to PyCQA/isort#1945.
pre-commit started failing with: ``` [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... An unexpected error has occurred: AssertionError: BUG: expected environment for python to be healthy immediately after install, please open an issue describing your environment more info: virtualenv python version did not match created version: - actual version: 3.10.6.final.0 - expected version: 3.10.4.final.0 ``` Quick fix while #696 gets on track. Sadly I had to rollback #752 due to PyCQA/isort#1945.
Codecov Report
@@ Coverage Diff @@
## master #696 +/- ##
==========================================
+ Coverage 96.58% 96.65% +0.06%
==========================================
Files 41 41
Lines 3019 3018 -1
==========================================
+ Hits 2916 2917 +1
+ Misses 103 101 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
- Provide a dev shell. - Provide a nix package. - Provide a nix flake.
Cool! This is now working! To try it out: nix shell github:copier-org/copier/precommix That will load copier installed with nix in your shell. Now go play with it. Pending: docs, fix CI (all should break right now), provide more arches. |
- Mark some tests as impure. - Run pure tests when building Copier with Nix. - Add poetry loader to direnv. - Update contribution guide.
Add precommix for linting and formatting.