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
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" aiocli/__init__.py
- name: deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 1 addition & 7 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . ./

Expand All @@ -26,8 +25,3 @@ FROM miniconda3 AS py310

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
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if __name__ == '__main__':

## Requirements

- Python >= 3.9
- Python >= 3.10

## Contributing

Expand Down
6 changes: 2 additions & 4 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ services:
build:
context: .
dockerfile: Containerfile
target: py39
# target: py310
# target: py311
# target: py312
image: ghcr.io/aiopy/python-aiocli:py39-${VERSION:-latest}
target: py312
# image: ghcr.io/aiopy/python-aiocli:py310-${VERSION:-latest}
# image: ghcr.io/aiopy/python-aiocli:py311-${VERSION:-latest}
# image: ghcr.io/aiopy/python-aiocli:py312-${VERSION:-latest}
image: ghcr.io/aiopy/python-aiocli:py312-${VERSION:-latest}
volumes:
- .:/app
2 changes: 1 addition & 1 deletion docs_src/config/en/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
copyright: 'Copyright © 2020 - 2022'
copyright: 'Copyright © 2020 - 2025'

docs_dir: '../../docs/en'

Expand Down
2 changes: 1 addition & 1 deletion docs_src/config/es/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
copyright: 'Copyright © 2020 - 2022'
copyright: 'Copyright © 2020 - 2025'

docs_dir: '../../docs/es'

Expand Down
4 changes: 2 additions & 2 deletions docs_src/docs/en/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AIOCLI

A modern, lightweight, async console runner for building CLIs with Python 3.7+ based on standard Python's [argparse module](https://docs.python.org/3/library/argparse.html) and [type hints](https://docs.python.org/3/library/typing.html) highly inspired by [AIOHTTP](https://github.com/aio-libs/aiohttp) and [FastApi](https://github.com/tiangolo/fastapi).
A modern, lightweight, async console runner for building CLIs with Python 3.10+ based on standard Python's [argparse module](https://docs.python.org/3/library/argparse.html) and [type hints](https://docs.python.org/3/library/typing.html) highly inspired by [AIOHTTP](https://github.com/aio-libs/aiohttp) and [FastApi](https://github.com/tiangolo/fastapi).

Key Features:

Expand All @@ -11,7 +11,7 @@ Key Features:

## Requirements

- Python 3.7+
- Python 3.10+

## Installation

Expand Down
4 changes: 2 additions & 2 deletions docs_src/docs/es/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AIOCLI

Un moderno ligero ejecutor de consola asíncrono para construir CLIs con Python 3.7+ basado en el módulo estándar de Python [argparse](https://docs.python.org/3/library/argparse.html) y [type hints](https://docs.python.org/3/library/typing.html) altamente inspirado en [AIOHTTP](https://github.com/aio-libs/aiohttp) y [FastApi](https://github.com/tiangolo/fastapi).
Un moderno ligero ejecutor de consola asíncrono para construir CLIs con Python 3.10+ basado en el módulo estándar de Python [argparse](https://docs.python.org/3/library/argparse.html) y [type hints](https://docs.python.org/3/library/typing.html) altamente inspirado en [AIOHTTP](https://github.com/aio-libs/aiohttp) y [FastApi](https://github.com/tiangolo/fastapi).

Características principales:

Expand All @@ -11,7 +11,7 @@ Características principales:

## Requisitos

- Python 3.7+
- Python 3.10+

## Instalación

Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -37,12 +36,12 @@ keywords = ["asyncio", "async", "aio", "cli", "console"]
license = { text = "MIT" }
name = "aiocli"
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10"

[project.optional-dependencies]
dev = [
"pre-commit>=3.8.0",
'tomli>=2.0.1; python_version<"3.11"',
"pre-commit>=4.2.0",
'tomli>=2.2.1; python_version<"3.11"',
'types-toml>=0.10.8.20240310; python_version<"3.11"',
]
deploy = [
Expand Down