Skip to content

Commit

Permalink
feat: update python version, pytest version (#658)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Raise minimum python version to 3.8.1 and min. pytest version to v7.
  • Loading branch information
noahnu authored and Noah Negin-Ulster committed Dec 30, 2022
1 parent acf7e5d commit 3a1f8c9
Show file tree
Hide file tree
Showing 7 changed files with 169 additions and 202 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11-dev']
python-version: ['3.8', '3.9', '3.10', '3.11-dev']
fail-fast: false
steps:
- uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.4
3.10.8
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ pip uninstall snapshottest -y;
find . -type d ! -path '*/\.*' -name 'snapshots' | xargs rm -r
```

### Pytest and Python Compatibility

Syrupy will always be compatible with the latest version of Python and Pytest. If you're running an old version of Python or Pytest, you will need to use an older major version of Syrupy:

| Syrupy Version | Python Support | Pytest Support |
| -------------- | -------------- | -------------- |
| 4.x.x | >3.8.1 | >=7 |
| 3.x.x | >=3.7, <4 | >=5.1, <8 |
| 2.x.x | >=3.6, <4 | >=5.1, <8 |


## Usage

### Basic Usage
Expand Down
Loading

0 comments on commit 3a1f8c9

Please sign in to comment.