Skip to content

Commit

Permalink
Merge pull request #1 from cloudtruth/feature/python311
Browse files Browse the repository at this point in the history
Allow python 3.11 and higher
  • Loading branch information
mattwwarren authored Oct 10, 2024
2 parents f40e224 + 7f17614 commit 00b8ef5
Show file tree
Hide file tree
Showing 8 changed files with 1,505 additions and 1,206 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.8
python_version = 3.9

ignore_missing_imports = False
warn_unused_ignores = True
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
default_language_version:
python: python3.8
python: python3.9

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
2,688 changes: 1,492 additions & 1,196 deletions poetry.lock

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tool.poetry]
name = "boto3-post-conditions"
version = "0.3.0"
version = "0.3.1"
description = "Remove retry logic from boto3 clients by enforcing post-conditions."
readme = "README.md"
repository = "https://github.com/jeking3/boto3-post-conditions/"
keywords = ["boto3", "aws", "eventual consistency", "retry"]
authors = ["James E. King III <[email protected]>"]
authors = ["James E. King III <[email protected]>", "CloudTruth Developers <[email protected]>"]
license = "Apache-2.0"
classifiers = [
"Development Status :: 4 - Beta",
Expand All @@ -15,12 +15,14 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed"
]

[tool.poetry.dependencies]
python = ">=3.8,<3.11"
python = ">=3.8"
boto3 = "^1.20"
retry = "^0.9.2"

Expand All @@ -46,4 +48,4 @@ build-backend = "poetry.core.masonry.api"
# https://github.com/python-poetry/poetry/issues/3456
name = "pypi-public"
url = "https://pypi.org/simple/"
default = true
priority = "primary"
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

from botocore.awsrequest import AWSResponse
from botocore.client import BaseClient
from moto.core.models import MockRawResponse
from moto.core.botocore_stubber import MockRawResponse


class PostConditionTestCase(TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/services/test_secretsmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import boto3
from botocore.awsrequest import AWSResponse
from botocore.exceptions import ClientError
from moto.core.models import MockRawResponse
from moto.core.botocore_stubber import MockRawResponse
from moto.secretsmanager import mock_secretsmanager

from boto3_post_conditions import PostConditionEnforcer
Expand Down
2 changes: 1 addition & 1 deletion tests/services/test_ssm.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import vcr
from botocore.awsrequest import AWSResponse
from botocore.exceptions import ClientError
from moto.core.models import MockRawResponse
from moto.core.botocore_stubber import MockRawResponse
from moto.ssm import mock_ssm

from boto3_post_conditions import PostConditionEnforcer
Expand Down

0 comments on commit 00b8ef5

Please sign in to comment.