Skip to content

Commit

Permalink
Add version ceiling for pydantic (#84)
Browse files Browse the repository at this point in the history
* Add version ceiling for pydantic

* Skip brew update for installing graphviz

---------

Co-authored-by: Jay Qi <[email protected]>
  • Loading branch information
jayqi and jayqi committed Jul 4, 2023
1 parent c094337 commit e8e04c1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
with:
macos-skip-brew-update: 'true'

- name: Install dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
with:
macos-skip-brew-update: 'true'

- name: Install dependencies
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
with:
macos-skip-brew-update: 'true'

- name: Install dependencies
run: |
Expand Down Expand Up @@ -62,6 +64,8 @@ jobs:
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
with:
macos-skip-brew-update: 'true'

- name: Install dependencies
run: |
Expand Down
3 changes: 2 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# erdantic Changelog

## v0.6.0 (Unreleased)
## v0.5.1 (2023-07-04)

- Changed pydantic dependency to be `< 2`. This will be the final version of erdantic that supports pydantic v1.
- Changed to pyproject.toml-based build.

## v0.5.0 (2022-07-29)
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"

[project]
name = "erdantic"
version = "0.6.0"
version = "0.5.1"
description = "Entity relationship diagrams for Python data model classes like Pydantic."
readme = "README.md"
authors = [{ name = "DrivenData", email = "[email protected]" }]
Expand All @@ -25,10 +25,10 @@ classifiers = [
requires-python = ">=3.7"
dependencies = [
"importlib_metadata ; python_version < '3.8'",
"pydantic",
"pydantic < 2",
"pygraphviz",
"typer",
"typing_extensions>4 ; python_version < '3.8'",
"typing_extensions > 4 ; python_version < '3.8'",
]

[project.scripts]
Expand All @@ -40,7 +40,6 @@ erdantic = "erdantic.cli:app"
"Bug Tracker" = "https://github.com/drivendataorg/erdantic/issues"
"Changelog" = "https://erdantic.drivendata.org/stable/changelog/"


[tool.black]
line-length = 99
include = '\.pyi?$'
Expand Down

0 comments on commit e8e04c1

Please sign in to comment.