Skip to content

Commit

Permalink
feat: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Dec 2, 2023
1 parent b76415d commit 3f1c685
Show file tree
Hide file tree
Showing 9 changed files with 180 additions and 87 deletions.
2 changes: 1 addition & 1 deletion mecha/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
extra_field,
import_from_string,
)
from pydantic import BaseModel, validator
from pydantic.v1 import BaseModel, validator
from tokenstream import InvalidSyntax, Preprocessor, TokenStream, set_location

from .ast import AstLiteral, AstNode, AstRoot
Expand Down
2 changes: 1 addition & 1 deletion mecha/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from beet import ErrorMessage
from beet.core.utils import FileSystemPath, JsonDict, VersionNumber, split_version
from pydantic import BaseModel
from pydantic.v1 import BaseModel


class CommandTree(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion mecha/contrib/debug_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from beet import Context, configurable
from beet.core.utils import required_field
from pydantic import BaseModel
from pydantic.v1 import BaseModel

from mecha import AstRoot, CompilationDatabase, Mecha, Visitor, rule

Expand Down
2 changes: 1 addition & 1 deletion mecha/contrib/nesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from beet import Generator as BeetGenerator
from beet import configurable
from beet.core.utils import required_field
from pydantic import BaseModel
from pydantic.v1 import BaseModel
from tokenstream import InvalidSyntax, TokenStream, set_location

from mecha import (
Expand Down
2 changes: 1 addition & 1 deletion mecha/contrib/source_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from beet import Context, configurable
from beet.core.utils import required_field
from jinja2 import Template
from pydantic import BaseModel
from pydantic.v1 import BaseModel

from mecha import (
AstChildren,
Expand Down
2 changes: 1 addition & 1 deletion mecha/contrib/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from beet import Context
from beet.core.utils import dump_json
from pydantic import BaseModel
from pydantic.v1 import BaseModel

from mecha import (
AstCommand,
Expand Down
2 changes: 1 addition & 1 deletion mecha/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from typing import Any, Iterable, Iterator, List, Literal

from beet.core.utils import required_field
from pydantic import BaseModel
from pydantic.v1 import BaseModel

from .ast import (
AstBlock,
Expand Down
245 changes: 169 additions & 76 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ include = ["mecha/py.typed"]

[tool.poetry.dependencies]
python = "^3.10"
beet = ">=0.97.0"
beet = ">=0.99.1"
tokenstream = "^1.7.0"

[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
pytest = "^7.4.2"
black = "^23.11.0"
pytest = "^7.4.3"
isort = "^5.12.0"
python-semantic-release = "^7.33.3"
pytest-insta = "^0.2.0"
lectern = ">=0.29.0"
lectern = ">=0.30.0"

[tool.poetry.scripts]
mecha = "mecha.cli:main"
Expand Down

0 comments on commit 3f1c685

Please sign in to comment.