Skip to content

Commit

Permalink
bump min python to 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksanders committed Sep 12, 2024
1 parent 301da8e commit 59b0576
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.10

RUN apt-get update -y \
&& apt-get upgrade -y \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ Aardvark is a multi-account AWS IAM Access Advisor API (and caching layer).

✨ Enhancement

- ⚠️ Upgrade to Python 3.8+
- ⚠️ Upgrade to Python 3.10+
- ⚠️ New configuration format
- ✨ Pluggable persistence layer
- ✨ Pluggable retrievers

## Install

Ensure that you have Python 3.8 or later.
Ensure that you have Python 3.10 or later.

Use pip install Aardvark:

Expand Down
4 changes: 2 additions & 2 deletions aardvark/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = version = '0.3.6.dev28+g0d444c4.d20240911'
__version_tuple__ = version_tuple = (0, 3, 6, 'dev28', 'g0d444c4.d20240911')
__version__ = version = '0.3.6.dev30+g301da8e'
__version_tuple__ = version_tuple = (0, 3, 6, 'dev30', 'g301da8e')
2 changes: 0 additions & 2 deletions aardvark/manage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import asyncio
import logging
import os
Expand Down
2 changes: 0 additions & 2 deletions aardvark/persistence/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from typing import TYPE_CHECKING

from aardvark.plugins import AardvarkPlugin
Expand Down
2 changes: 0 additions & 2 deletions aardvark/persistence/sqlalchemy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import datetime
import logging
from contextlib import contextmanager
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "A multi-account AWS IAM Access Advisor API"
readme = "README.md"
authors = [{name = "Netflix", email = "[email protected]"}]
license = {file = "LICENSE"}
requires-python = ">=3.8"
requires-python = ">=3.10"
dependencies = [
"asgiref",
"blinker",
Expand Down Expand Up @@ -47,7 +47,7 @@ extra-dependencies = [
]

[[tool.hatch.envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11"]
python = ["3.10", "3.11"]

[tool.hatch.version]
source = "vcs"
Expand Down

0 comments on commit 59b0576

Please sign in to comment.