Skip to content

Tags: Preocts/python-src-template

Tags

3.4.0

Toggle 3.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fail if formatters have made changes (#218)

3.3.0

Toggle 3.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Pass python version to uv (#216)

This change reverts the use of `python=False` in all nox sessions.
Sessions for tests, linting, and formatting will use nox virtual
environments. In these sessions the location of the virtual environment
will be passed to `uv run` and `uv sync`. This means uv will use the
python version that nox is executed with.

This change is needed because nox correctly masks all environment
variables when starting a `session.run` or `session.run_install`. This
is ideal to maintain repeatable behavior. This is not ideal when
attempting to use `UV_PYTHON` to control which version is being run.

Enforcing that uv use the python version that nox is executed with is
the least surprising behavior. Even if this ignores the
`.python-version` file in the repo.

3.2.0

Toggle 3.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Clean up gha python setup (#214)

* Remove settings job

Turns out the setup-python action already looks for and respects the
`.python-version` pin. Easy mode.

* Use correct python version

* Remove python-setup

* Remove only system flag

* no-config parameter is not needed

3.1.0

Toggle 3.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Rename test dep group to dev (#210)

A dev should always have the dependencies is this group installed. uv
will automatically install the dev group so renaming is the simple
solution.

3.0.0

Toggle 3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Guard against uv.lock drift (#208)

Add a pre-commit hook to ensure the lockfile has been updated with any
dependency changes. Likewise, create a nox session to do the same.

This combination will help ensure the uv.lock file is correct even when
pushed before updating. pre-commit-ci can auto-fix this.

2.3.0

Toggle 2.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Include ./tests in nox lint session (#200)

* Simplify install steps

* Handle running lint session on tests/

2.2.0

Toggle 2.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #171 from Preocts/preocts

Update supported versions

2.1.0

Toggle 2.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #110 from Preocts/preocts

Clean up tox config

2.0.0

Toggle 2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #97 from Preocts/preocts

Refinement of the template

1.0.0

Toggle 1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #79 from Preocts/preocts

show dev and test optionals in dev install steps