Skip to content

Commit

Permalink
ci: bump version of pytest
Browse files Browse the repository at this point in the history
Without this for some reason the following error can happen if when we add
other dependencies in later commits:

> ImportError: cannot import name 'Config' from 'pytest'

(Specifically the dependencies of pycryptodome and pyzipper)

Have to admit I'm not really sure why, and haven't spent that long trying to
work out why, but I think it's reasonable to use a more recent version even
without this issue and not really worth the time investigating it.
  • Loading branch information
michalc committed Jan 4, 2024
1 parent 2c63c5b commit 5d3a1c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ classifiers = [
[project.optional-dependencies]
dev = [
"coverage>=6.2",
"pytest>=6.2.5",
"pytest>=7.0.1",
"pytest-cov>=3.0.0",
"stream-unzip>=0.0.86"
]
ci = [
"coverage==6.2",
"pytest==6.2.5",
"pytest==7.0.1",
"pytest-cov==3.0.0",
"stream-unzip==0.0.86"
]
Expand Down

0 comments on commit 5d3a1c3

Please sign in to comment.