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

Fix virtualenv setuptools #549

Merged
merged 5 commits into from Dec 28, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Expand Up @@ -3,6 +3,7 @@ on: [push, pull_request]
env:
FORCE_COLOR: "1"
PRE_COMMIT_COLOR: "always"
SETUPTOOLS_USE_DISTUTILS: "stdlib" # See https://github.com/theacodes/nox/issues/545
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 1 addition & 3 deletions noxfile.py
Expand Up @@ -93,9 +93,7 @@ def cover(session):
@nox.session(python="3.9")
def lint(session):
"""Run pre-commit linting."""
# Pin virtualenv for pre-commit run
# See https://github.com/theacodes/nox/issues/545
session.install("virtualenv==20.10.0", "pre-commit")
session.install("pre-commit")
session.run(
"pre-commit", "run", "--all-files", "--show-diff-on-failure", *session.posargs
)
Expand Down