Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v6
Expand All @@ -23,7 +23,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras --frozen --compile-bytecode --group dev --group tests
run: uv sync --frozen --compile-bytecode --all-groups --all-extras
- name: Lint with ruff
run: |
uv run ruff check --no-fix
Expand All @@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v6
Expand All @@ -42,7 +42,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras --frozen --compile-bytecode --group dev --group tests
run: uv sync --frozen --compile-bytecode --all-groups --all-extras
- name: Run tests with pytest
run: |
uv run pytest --force-sugar
Expand Down
91 changes: 0 additions & 91 deletions .pre-commit-config.yaml

This file was deleted.

39 changes: 0 additions & 39 deletions Makefile

This file was deleted.

14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,17 @@ setup(
)

```

## Development

Install the environment:

```shell
uv sync --python-preference only-managed --frozen --all-extras --all-groups
```

Run the unittests:

```shell
uv run pytest -s --pdb --pdbcls=IPython.terminal.debugger:Pdb
```
1 change: 0 additions & 1 deletion docs/index.md

This file was deleted.

124 changes: 0 additions & 124 deletions mkdocs.yml

This file was deleted.

43 changes: 17 additions & 26 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ authors = [
description = "Some Structlog configuration and wrappers to easily use structlog."
version = "0.0.1.dev0"
readme = "README.md"
requires-python = ">=3.11"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"orjson>=3.11.5",
"rich>=14.0.0",
"rich>=14.2.0",
"structlog>=25.5.0",
"structlog-sentry>=2.2.1",
]
[project.optional-dependencies]
django = [
Expand All @@ -29,42 +28,34 @@ django = [
aws = [
"aws-lambda-powertools>=3.23.0",
]
sentry = [
"structlog-sentry>=2.2.1",
]

[tool.setuptools_scm]
version_file = "src/mh_structlog/_version.py"

[dependency-groups]
dev = ["ipdb>=0.13.13", "ipython>=8.18.1", "pre-commit>=4.0.1", "ruff>=0.12.1"]
dev = [
"ipdb>=0.13.13",
"ipython>=8.18.1",
"ruff>=0.14.9",
]
tests = [
"coverage>=7.5.3",
"coverage>=7.13.0",
"django>=5",
"freezegun>=1.5.5",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"pytest-django>=4.11.1",
"pytest-env>=1.2.0",
"pytest-randomly>=3.15.0",
"pytest-randomly>=4.0.1",
"pytest-sugar>=1.1.1",
"django>=5.2",
"freezegun>=1.5.5",
]
pages = [
"black>=24.10.0",
"mkdocs-literate-nav>=0.6.1",
"mkdocs-gen-files>=0.5.0",
"mkdocstrings[python]>=0.26.2",
"pymdown-extensions>=10.12",
"mkdocs-include-dir-to-nav>=1.2.0",
"mkdocs-git-authors-plugin>=0.9.2",
"mkdocs-glightbox>=0.4.0",
"mkdocs-git-revision-date-localized-plugin>=1.3.0",
"mkdocs-roamlinks-plugin>=0.3.2",
"mkdocs>=1.6.1",
"mkdocs-material>=9.5.44",
]

[tool.uv]
required-version = ">=0.9.11"
required-version = ">=0.9.17"
package = true
cache-keys = [{ file = "pyproject.toml" }]
environments = [
"sys_platform == 'darwin'",
"sys_platform == 'linux'",
Expand All @@ -76,8 +67,8 @@ environments = [
line-length = 120
indent-width = 4
preview = false
required-version = ">=0.4.5"
target-version = "py39"
required-version = ">=0.12"
target-version = "py310"
unsafe-fixes = true

# Overwritten in CI/CD
Expand Down
Empty file removed scripts/__init__.py
Empty file.
Loading