Skip to content

Commit

Permalink
BUG: Pin setuptools dependencies to fix "use_2to3 is invalid" error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael McNeil Forbes committed Sep 9, 2021
1 parent 61685e6 commit ee53c25
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions anaconda-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ commands:
pytest -k test_official_assignment_1 --no-cov
genbadge tests -i _artifacts/junit.xml -o _artifacts/test-1-badge.svg
env_spec: phys-581-2021

#
# In the variables section, list any environment variables your code depends on.
# Use `anaconda-project add-variable` to add variables.
Expand Down Expand Up @@ -97,7 +97,7 @@ downloads: {}
#
# See https://github.com/Anaconda-Platform/anaconda-project/issues/265

# packages:
# packages:
dependencies:
- python=3.9

Expand All @@ -122,6 +122,11 @@ dependencies:
- anaconda-project>=0.10.1
- jupytext

# To deal with error in XXXX setup command: use_2to3 is invalid when false
# https://github.com/pypa/setuptools/issues/2775
# See ClassLog.md
- setuptools<58.0.2|>59

- pytest-cov
- pytest-flake8
- pytest-html
Expand Down

0 comments on commit ee53c25

Please sign in to comment.