Skip to content

Commit 550bd29

Browse files
ran-isenbergRan Isenberg
andauthored
feature: add python 3.13 support and deprecate 3.8 (#116)
--------- Co-authored-by: Ran Isenberg <ran.isenberg@ranthebuilder.cloud>
1 parent 4bd9052 commit 550bd29

File tree

5 files changed

+482
-498
lines changed

5 files changed

+482
-498
lines changed

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python-version: [3.8.17, 3.9, "3.10", "3.11", "3.12"]
22+
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
2323
steps:
2424
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
2525
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# AWS Lambda Environment Variables Modeler (Python)
33

44
[![license](https://img.shields.io/github/license/ran-isenberg/aws-lambda-env-modeler)](https://github.com/ran-isenberg/aws-lambda-env-modeler/blob/master/LICENSE)
5-
![PythonSupport](https://img.shields.io/static/v1?label=python&message=%203.8.17|%203.9|%203.10|%203.11|%203.12&color=blue?style=flat-square&logo=python)
5+
![PythonSupport](https://img.shields.io/static/v1?label=python&message=%203.9|%203.10|%203.11|%203.12|%203.13&color=blue?style=flat-square&logo=python)
66
![PyPI version](https://badge.fury.io/py/aws-lambda-env-modeler.svg)
77
![PyPi monthly downloads](https://img.shields.io/pypi/dm/aws-lambda-env-modeler)
88
[![codecov](https://codecov.io/gh/ran-isenberg/aws-lambda-env-modeler/branch/main/graph/badge.svg?token=P2K7K4KICF)](https://codecov.io/gh/ran-isenberg/aws-lambda-env-modeler)

aws_lambda_env_modeler/types.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
import sys
2-
from typing import TypeVar
1+
from typing import Annotated, TypeVar
32

43
from pydantic import BaseModel
54

65
Model = TypeVar('Model', bound=BaseModel)
76

87

9-
if sys.version_info >= (3, 9):
10-
from typing import Annotated
11-
else:
12-
from typing_extensions import Annotated
13-
148
__all__ = ['Model', 'BaseModel', 'Annotated']

0 commit comments

Comments
 (0)