diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml index ab5c1fe..d0f9c43 100644 --- a/.github/workflows/python-testing.yml +++ b/.github/workflows/python-testing.yml @@ -18,8 +18,8 @@ jobs: fail-fast: false matrix: python-version: - - "3.7" - - "3.10" + - "3.8" + - "3.11" deps: - dev - dev,docs diff --git a/env-v1.yml b/env-v1.yml index 54a28e4..be85ff0 100644 --- a/env-v1.yml +++ b/env-v1.yml @@ -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]" diff --git a/environment.yml b/environment.yml index c7099b6..858d675 100644 --- a/environment.yml +++ b/environment.yml @@ -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]" diff --git a/pyproject.toml b/pyproject.toml index a0c9907..f01afef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" } @@ -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 @@ -74,7 +74,7 @@ extend-exclude = ''' [tool.ruff] line-length = 105 -target-version = 'py37' +target-version = 'py38' src = ["src"] select = [ "E", # pycodestyle