Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-39884: Pin Pydantic < 2 (1.0.6 release) #49

Merged
merged 4 commits into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 8 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,44 +1,37 @@
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
- id: check-json
- 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
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
==================

Expand Down
9 changes: 5 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 =
Expand All @@ -41,7 +42,7 @@ install_requires =
structlog
ltd-conveyor
requests
pydantic
pydantic<2.0.0
click
pypandoc
panflute
Expand Down
1 change: 0 additions & 1 deletion src/lander/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ class EncodedString(BaseModel):


class GitRefType(str, Enum):

tag = "tag"
branch = "branch"

Expand Down