diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index f4b4fb1..b51807a 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 diff --git a/README.md b/README.md index 6fbbd34..a55fbec 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Annotated Logger is actively used by GitHub's Vulnerability Management team to help to easily add context to our logs in splunk. It is more or less feature complete for our current use cases, but we will add additional features/fixes as we discover a need for them. But, we'd love feature requests, bug report and or PRs for either (see our [contribution guidelines][contribution] for more information if you wish to contribute). ## Requirements -Annotated Logger is a Python package. It should work on any version of Python 3, but it is currently tested on 3.9 and higher. +Annotated Logger is a Python package. It should work on any version of Python 3, but it is currently tested on 3.10 and higher. ## Usage diff --git a/annotated_logger/__init__.py b/annotated_logger/__init__.py index 9daaec7..e0adb92 100644 --- a/annotated_logger/__init__.py +++ b/annotated_logger/__init__.py @@ -33,7 +33,7 @@ # https://test.pypi.org/project/annotated-logger/ # The dev versions in testpypi can then be pulled in to whatever project needed # the new feature. -VERSION = "1.3.1" # pragma: no mutate +VERSION = "1.3.2" # pragma: no mutate T = TypeVar("T") P = ParamSpec("P") diff --git a/pyproject.toml b/pyproject.toml index 1ace559..8c37081 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dynamic = ["version"] description = "A decorator that logs the start and end of a function as well as providing an optional logger with annotations" readme = "README.md" license = "MIT" -requires-python = ">=3.6" +requires-python = ">=3.10" authors = [ { name = "Vuln Mgmt Eng", email = "security+vulnmgmteng@github.com" }, ] @@ -56,7 +56,6 @@ installer = "uv" pip-compile-resolver = "uv" dependencies = [ "coverage", - "mutmut", "pre-commit", "pyright", "pytest", @@ -79,11 +78,6 @@ lint = "ruff check" exclude_also = ["@overload"] fail_under = 100 -[tool.mutmut] -paths_to_mutate = "annotated_logger/" -runner = "script/mutmut_runner" -use_coverage = true - [tool.pyright] include = ["annotated_logger", "example", "test"] reportMissingTypeArgument = true diff --git a/requirements.txt b/requirements.txt index 7d88f2e..0e5a044 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,11 +7,11 @@ # - requests # -certifi==2025.10.5 +certifi==2025.11.12 # via requests -charset-normalizer==3.4.3 +charset-normalizer==3.4.4 # via requests -idna==3.10 +idna==3.11 # via requests makefun==1.16.0 # via hatch.envs.default diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index 72a72fe..d0cc601 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -2,14 +2,12 @@ # This file is autogenerated by hatch-pip-compile with Python 3.12 # # - coverage -# - mutmut # - pre-commit # - pyright # - pytest # - pytest-cov # - pytest-freezer # - pytest-github-actions-annotate-failures -# - pytest-memray # - pytest-mock # - pytest-randomly # - requests-mock @@ -21,15 +19,13 @@ # - requests # -certifi==2025.10.5 +certifi==2025.11.12 # via requests cfgv==3.4.0 # via pre-commit -charset-normalizer==3.4.3 +charset-normalizer==3.4.4 # via requests -click==8.3.0 - # via mutmut -coverage==7.10.7 +coverage==7.11.3 # via # hatch.envs.dev # pytest-cov @@ -41,33 +37,12 @@ freezegun==1.5.5 # via pytest-freezer identify==2.6.15 # via pre-commit -idna==3.10 +idna==3.11 # via requests -iniconfig==2.1.0 +iniconfig==2.3.0 # via pytest -jinja2==3.1.6 - # via memray -libcst==1.7.0 - # via mutmut -linkify-it-py==2.0.3 - # via markdown-it-py makefun==1.16.0 # via hatch.envs.dev -markdown-it-py==4.0.0 - # via - # mdit-py-plugins - # rich - # textual -markupsafe==3.0.3 - # via jinja2 -mdit-py-plugins==0.5.0 - # via markdown-it-py -mdurl==0.1.2 - # via markdown-it-py -memray==1.19.1 - # via pytest-memray -mutmut==3.3.1 - # via hatch.envs.dev nodeenv==1.9.1 # via # pre-commit @@ -75,32 +50,25 @@ nodeenv==1.9.1 packaging==25.0 # via pytest platformdirs==4.5.0 - # via - # textual - # virtualenv + # via virtualenv pluggy==1.6.0 # via # pytest # pytest-cov -pre-commit==4.3.0 +pre-commit==4.4.0 # via hatch.envs.dev pychoir==0.0.29 # via hatch.envs.dev pygments==2.19.2 - # via - # pytest - # rich - # textual -pyright==1.1.406 + # via pytest +pyright==1.1.407 # via hatch.envs.dev -pytest==8.4.2 +pytest==9.0.1 # via # hatch.envs.dev - # mutmut # pytest-cov # pytest-freezer # pytest-github-actions-annotate-failures - # pytest-memray # pytest-mock # pytest-randomly pytest-cov==7.0.0 @@ -109,8 +77,6 @@ pytest-freezer==0.4.9 # via hatch.envs.dev pytest-github-actions-annotate-failures==0.3.0 # via hatch.envs.dev -pytest-memray==1.8.0 - # via hatch.envs.dev pytest-mock==3.15.1 # via hatch.envs.dev pytest-randomly==4.0.1 @@ -120,37 +86,22 @@ python-dateutil==2.9.0.post0 python-json-logger==4.0.0 # via hatch.envs.dev pyyaml==6.0.3 - # via - # libcst - # pre-commit + # via pre-commit requests==2.32.5 # via # hatch.envs.dev # requests-mock requests-mock==1.12.1 # via hatch.envs.dev -rich==14.2.0 - # via - # memray - # textual -ruff==0.14.0 +ruff==0.14.4 # via hatch.envs.dev -setproctitle==1.3.7 - # via mutmut six==1.17.0 # via python-dateutil -textual==6.2.1 - # via - # memray - # mutmut typing-extensions==4.15.0 # via # hatch.envs.dev # pyright - # textual -uc-micro-py==1.0.3 - # via linkify-it-py urllib3==2.5.0 # via requests -virtualenv==20.34.0 +virtualenv==20.35.4 # via pre-commit