Skip to content

Commit

Permalink
fix(infra): add full back to optional dependencies (#2433)
Browse files Browse the repository at this point in the history
* fix(infra): add ``full`` back to optional dependencies

* chore: update lock file

* fix(ci): run local ci to fix mypy and lockfile

* chore: move deprecation warning to 2.2.1

* chore: add gitignore file

* chore: update gitignore file
  • Loading branch information
JacobCoffee authored Oct 13, 2023
1 parent 4d4af99 commit b662f02
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 58 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ target/
*.iml
.DS_Store
.coverage
.python-version
.ruff_cache
/docs/_build/
coverage.*
Expand All @@ -34,3 +33,9 @@ setup.py
.pdm.toml
.pdm-python
.pdm-build/
# pdm - PEP 582
__pypackages__/

# pyenv / rtx / asdf
.tool-versions
.python-version
2 changes: 1 addition & 1 deletion litestar/types/internal_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class PathParameterDefinition(NamedTuple):
def __getattr__(name: str) -> Any:
if name == "LitestarType":
warn_deprecation(
"2.3.0",
"2.2.1",
"LitestarType",
"import",
removal_in="3.0.0",
Expand Down
94 changes: 42 additions & 52 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ maintainers = [
name = "litestar"
readme = "README.md"
requires-python = ">=3.8,<4.0"
version = "2.2.0"
version = "2.2.1"

[project.urls]
Blog = "https://blog.litestar.dev"
Expand All @@ -64,9 +64,9 @@ Discord = "https://discord.gg/MmcwxztmQb"
"Issue Tracker" = "https://github.com/litestar-org/litestar/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc"
Reddit = "https://www.reddit.com/r/LitestarAPI"
Twitter = "https://twitter.com/LitestarAPI"
documentation = "https://docs.litestar.dev/"
homepage = "https://litestar.dev/"
repository = "https://github.com/litestar-org/litestar"
Documentation = "https://docs.litestar.dev/"
Homepage = "https://litestar.dev/"
Repository = "https://github.com/litestar-org/litestar"

[project.optional-dependencies]
annotated-types = ["annotated-types"]
Expand All @@ -87,6 +87,9 @@ redis = ["redis[hiredis]>=4.4.4"]
sqlalchemy = ["advanced-alchemy==0.2.2"]
standard = ["jinja2", "jsbeautifier", "uvicorn[standard]", "fast-query-parsers>=1.0.2"]
structlog = ["structlog"]
full = [
"litestar[annotated-types,attrs,brotli,cli,cryptography,jinja,jwt,mako,minijinja,opentelemetry,piccolo,picologging,prometheus,pydantic,redis,sqlalchemy,standard,structlog]",
]

[tool.pdm.dev-dependencies]
dev = [
Expand Down

0 comments on commit b662f02

Please sign in to comment.