Skip to content

Commit

Permalink
Add missing dependency 'packaging' (#64)
Browse files Browse the repository at this point in the history
Co-authored-by: Alek Binion <[email protected]>
  • Loading branch information
mmchenry-duolingo and biniona authored Jan 22, 2025
1 parent 0ff9f38 commit 47fd781
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hatch_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.10"]
python-version: ["3.9", "3.10", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.10"]
python-version: ["3.9", "3.10", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

# Changelog

## v1.1.2

Add missing dependency `packaging`.

## v1.1.1

Fix inject_define bindings for multiple class declarations with the same class
Expand Down
2 changes: 1 addition & 1 deletion minject/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, api, path): ...
something = registry['something_i_need']
"""

__version__ = "1.1.1"
__version__ = "1.1.2"

from . import inject
from .inject_attrs import inject_define as define, inject_field as field
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ description = "A small dependency injection library for Python."
dynamic = ["version"]
license = { file = "LICENSE" }
name = "minject"
requires-python = ">=3.7"
requires-python = ">=3.9"

dependencies = ["attrs>=17.4", "typing_extensions>=4.1"]
dependencies = ["attrs>=17.4", "packaging", "typing_extensions>=4.1"]

[build-system]
build-backend = "hatchling.build"
Expand Down Expand Up @@ -54,10 +54,10 @@ dependencies = [
]

[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python = ["3.9", "3.10", "3.11", "3.12", "3.13"]

[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive minject"

[[tool.hatch.envs.types.matrix]]
python = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python = ["3.9", "3.10", "3.11", "3.12", "3.13"]

0 comments on commit 47fd781

Please sign in to comment.