Skip to content

Commit

Permalink
Remove Python 3.7 support, targeting 3.8 - 3.11 (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
NowanIlfideme authored Sep 25, 2023
1 parent 24b4c7d commit 238a2a0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.7"
- "3.10"
- "3.8"
- "3.11"
deps:
- dev
- dev,docs
Expand Down
2 changes: 1 addition & 1 deletion env-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: pyd-v1-yaml
channels:
- conda-forge
dependencies:
- python=3.8 # minimum targeted version is currently 3.7, but docs need 3.8
- python=3.8 # docs need 3.8
- pip
- pip:
- -e ".[dev,docs]"
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: pyd-yaml
channels:
- conda-forge
dependencies:
- python=3.8 # minimum targeted version is currently 3.7, but docs need 3.8
- python=3.8 # docs need 3.8
- pip
- pip:
- -e ".[dev,docs]"
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
name = "pydantic_yaml"
description = "Adds some YAML functionality to the excellent `pydantic` library."
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.8"
dynamic = ["version"]
keywords = ["pydantic", "yaml"]
license = { file = "LICENSE" }
Expand Down Expand Up @@ -64,7 +64,7 @@ version = { attr = "pydantic_yaml.version.__version__" }

[tool.black]
line-length = 105
target-version = ['py37']
target-version = ['py38']
include = '^/src/pydantic_yaml.*\.py' # all .py files
extend-exclude = '''
^/setup.py
Expand All @@ -74,7 +74,7 @@ extend-exclude = '''

[tool.ruff]
line-length = 105
target-version = 'py37'
target-version = 'py38'
src = ["src"]
select = [
"E", # pycodestyle
Expand Down

0 comments on commit 238a2a0

Please sign in to comment.