diff --git a/.editorconfig b/.editorconfig index 04dc65a..f9fa8b1 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,5 +9,5 @@ insert_final_newline = true max_line_length = 120 trim_trailing_whitespace = true -[{*.py, run-script}] +[{*.py,run-script}] indent_size = 4 diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 3285abf..f91bd57 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.13.0-rc.2' + python-version: '3.13' - name: version run: sed -i "s/__version__ = '.*'/__version__ = '$VERSION'/g" aioddd/__init__.py - name: deps diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e932980..db7cb66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13.0-rc.2' ] + python-version: [ '3.10', '3.11', '3.12', '3.13' ] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/Containerfile b/Containerfile index 7340777..c8a3a03 100644 --- a/Containerfile +++ b/Containerfile @@ -4,8 +4,7 @@ WORKDIR /app RUN conda install -y --download-only "python=3.12" && \ conda install -y --download-only "python=3.11" && \ - conda install -y --download-only "python=3.10" && \ - conda install -y --download-only "python=3.9" + conda install -y --download-only "python=3.10" COPY . ./ @@ -28,6 +27,3 @@ RUN conda install -y "python=3.10" RUN --mount=type=cache,target=/root/.cache/pip python3 run-script dev-install FROM miniconda3 AS py39 - -RUN conda install -y "python=3.9" -RUN --mount=type=cache,target=/root/.cache/pip python3 run-script dev-install diff --git a/LICENSE b/LICENSE index 814f12b..2f6c58c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 - 2024 aiopy +Copyright (c) 2020 - 2025 aiopy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 773f737..3755fdf 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ if __name__ == '__main__': ## Requirements -- Python >= 3.9 +- Python >= 3.10 ## Contributing diff --git a/compose.yml b/compose.yml index 3a7da92..4c6dbc2 100644 --- a/compose.yml +++ b/compose.yml @@ -3,11 +3,9 @@ services: build: context: . dockerfile: Containerfile -# target: py39 # target: py310 # target: py311 target: py312 -# image: ghcr.io/aiopy/python-aioddd:py39-${VERSION:-latest} # image: ghcr.io/aiopy/python-aioddd:py310-${VERSION:-latest} # image: ghcr.io/aiopy/python-aioddd:py311-${VERSION:-latest} image: ghcr.io/aiopy/python-aioddd:py312-${VERSION:-latest} diff --git a/docs_src/config/en/mkdocs.yml b/docs_src/config/en/mkdocs.yml index 42f7dae..91329a3 100644 --- a/docs_src/config/en/mkdocs.yml +++ b/docs_src/config/en/mkdocs.yml @@ -1,4 +1,4 @@ -copyright: 'Copyright © 2020 - 2022' +copyright: 'Copyright © 2020 - 2025' docs_dir: '../../docs/en' diff --git a/docs_src/config/es/mkdocs.yml b/docs_src/config/es/mkdocs.yml index fb767a0..ec841d1 100644 --- a/docs_src/config/es/mkdocs.yml +++ b/docs_src/config/es/mkdocs.yml @@ -1,4 +1,4 @@ -copyright: 'Copyright © 2020 - 2022' +copyright: 'Copyright © 2020 - 2025' docs_dir: '../../docs/es' diff --git a/docs_src/docs/en/index.md b/docs_src/docs/en/index.md index 2df5f7e..af60f69 100644 --- a/docs_src/docs/en/index.md +++ b/docs_src/docs/en/index.md @@ -12,7 +12,7 @@ Key Features: ## Requirements -- Python 3.9+ +- Python 3.10+ ## Installation diff --git a/docs_src/docs/es/index.md b/docs_src/docs/es/index.md index e0c935a..4680c7a 100644 --- a/docs_src/docs/es/index.md +++ b/docs_src/docs/es/index.md @@ -12,7 +12,7 @@ ## Requisitos -- Python 3.9+ +- Python 3.10+ ## Instalación diff --git a/pyproject.toml b/pyproject.toml index 0679d15..3e83e7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,6 @@ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -37,14 +36,14 @@ keywords = ["ddd", "hexagonal", "cqrs", "aio", "async"] license = { text = "MIT" } name = "aioddd" readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" [project.optional-dependencies] dev = [ - "pre-commit>=3.8.0", - "tomli>=2.0.1", + "pre-commit>=4.2.0", + 'tomli>=2.2.1; python_version<"3.11"', "types-backports>=0.1.3", - "types-toml>=0.10.8.20240310", + 'types-toml>=0.10.8.20240310; python_version<"3.11"', ] deploy = [ "build>=1.2.2",