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 2c31c39 commit c360b95
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 116 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: true
steps:
- uses: actions/checkout@v3.1.0
Expand Down
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 c360b95

Please sign in to comment.