diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d7b1766..b168c7f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9b79b5b..61f4619 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: check-yaml - id: check-toml @@ -8,37 +8,30 @@ repos: - id: trailing-whitespace - repo: https://github.com/Lucas-C/pre-commit-hooks-markup - rev: v1.0.0 + rev: v1.0.1 hooks: - id: rst-linter files: (README\.rst)|(CHANGELOG\.rst) - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort args: [toml] -- repo: https://github.com/timothycrosley/isort - rev: 5.10.1 - hooks: - - id: isort - additional_dependencies: - - toml - - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 23.3.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: v1.12.1 + rev: 1.14.0 hooks: - id: blacken-docs - additional_dependencies: [black==22.6.0] + additional_dependencies: [black==23.3.0] args: [-l, "79", -t, py37] -- repo: https://gitlab.com/pycqa/flake8 - rev: 5.0.2 +- repo: https://github.com/pycqa/flake8 + rev: 6.0.0 hooks: - id: flake8 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 492e9ca..af53e60 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ Change Log ########## +1.0.6 (2023-07-04) +================== + +- Pin ``pydantic<2.0.0``. +- Drop support for Python 3.7. + 1.0.1 (2021-05-11) ================== diff --git a/setup.cfg b/setup.cfg index e87e4da..85696f8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,9 +15,10 @@ classifiers = License :: OSI Approved :: MIT License Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Intended Audience :: Developers Natural Language :: English Operating System :: POSIX @@ -30,7 +31,7 @@ include_package_data = True package_dir = = src packages = find: -python_requires = >=3.6 +python_requires = >=3.8 setup_requires = setuptools_scm install_requires = @@ -41,7 +42,7 @@ install_requires = structlog ltd-conveyor requests - pydantic + pydantic<2.0.0 click pypandoc panflute diff --git a/src/lander/config.py b/src/lander/config.py index 7e5db59..cf30f52 100644 --- a/src/lander/config.py +++ b/src/lander/config.py @@ -172,7 +172,6 @@ class EncodedString(BaseModel): class GitRefType(str, Enum): - tag = "tag" branch = "branch"