Skip to content

Commit

Permalink
Adding dependency version on tox
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed Mar 6, 2023
1 parent c1fbf8c commit cf37af6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install Tox and any other packages
run: pip install tox
run: pip install tox==3.24.25

- name: Run Tox
# Run tox using the version of Python in `PATH`
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ python = "^3.6"
yapf = "^0.31.0"
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools","numpy<=1.21.0"]
requires = ["setuptools","numpy==1.21.0"]

[tool.tox]
legacy_tox_ini = """
Expand All @@ -22,8 +22,8 @@ skipsdist=True
[testenv]
deps=
pytest>=6.2.1
pytest-mock
pytest==6.2.1
pytest-mock==3.7.0
usedevelop=True
commands=
pytest
Expand Down

0 comments on commit cf37af6

Please sign in to comment.