Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python 3.8 #504

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
- name: pyuprade check
run: |
source .venv/bin/activate
pyupgrade --py38-plus
pyupgrade --py39-plus
- name: isort check
run: |
source .venv/bin/activate
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
hooks:
- id: pyupgrade
name: pyupgrade
entry: pyupgrade --py38-plus
entry: pyupgrade --py39-plus
types: [python]
language: system
- repo: local
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Unreleased

No current changes
- Drop support for Python 3.8

# v4.6.3

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/aim-ui-storage/aimstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Config(BaseModel):
repo: str = "./storage"
system_tracking_interval: Optional[int] = None
log_system_params: Optional[bool] = False
include: List[str] = Field(
include: list[str] = Field(
default_factory=lambda: ["machinable.component"]
)

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/scopes/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def normgroup(group: Optional[str]) -> str:
return group.lstrip("/")


def resolve_group(group: str) -> Tuple[str, str]:
def resolve_group(group: str) -> tuple[str, str]:
group = normgroup(group)
resolved = datetime.now().strftime(group)
return group, resolved
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $ pip install machinable
```

::: info
machinable currently supports Python 3.8 and higher
machinable currently supports Python 3.9 and higher
:::

Note that machinable requires the sqlite json1 extension, otherwise, you will likely see the error message:
Expand Down
Loading