Skip to content

Drop3 9support - #66

Open
greatheights82 wants to merge 18 commits into
masterfrom
drop3_9support
Open

Drop3 9support#66
greatheights82 wants to merge 18 commits into
masterfrom
drop3_9support

Conversation

@greatheights82

Copy link
Copy Markdown
Contributor

Drop support for Python 3.9

Joel-Pearce and others added 18 commits July 1, 2026 15:15
Replace the mismatched setuptools build backend with poetry-core,
which is correct for a Poetry-managed project.

(cherry picked from commit a9b047f in Joel-Pearce/pytest-localstack)
Co-authored-by: Cursor <cursoragent@cursor.com>
inspect.getcallargs emits DeprecationWarning on Python 3.12+ and is
slated for removal in 3.15. Use inspect.Signature.bind() instead.

Also wraps with inspect.unwrap() to handle newer botocore versions
that decorate create_client with wrappers.

(cherry picked from commit 5774db7 in Joel-Pearce/pytest-localstack,
amended with inspect.unwrap per jairov4 PR #61)
Add container_env parameter to LocalstackSession for passing arbitrary
environment variables to the LocalStack container.

(cherry picked from commit 66293a2 in Joel-Pearce/pytest-localstack)
- Raise Python floor from 3.7 to 3.9 (3.7/3.8 are EOL)
- Bump docker from ^6.0.0 to >=7.0.0 (6.x uses ssl.match_hostname,
  removed in Python 3.12)
- Bump pluggy from ^0.12.0 to >=1.0.0 (0.x has no 3.12 support)
- Remove urllib3 <2 pin (modern botocore handles this per-Python-version)
- Set pytest floor to >=7 (compatible with pytest 8)
- Update classifiers for Python 3.9-3.12
- Bump version to 0.7.0

Co-authored-by: Jairo Velasco <jairov4@users.noreply.github.com>
Replace deprecated [tool.poetry.dev-dependencies] section with
[tool.poetry.group.dev.dependencies] per Poetry 1.2+ convention.
mypy ^0.812 requires typed-ast, which fails to compile on Python 3.12.
mypy 1.0+ uses the built-in ast module instead.
- Remove pyproject-flake8 (flake8 6+ reads pyproject.toml natively)
- Bump flake8 to >=6.0, coverage to >=7.0, pytest-cov to >=4.0,
  pytest-xdist to >=3.0, bandit to >=1.7.5
- Add pyyaml >=6.0.1 floor (6.0 fails to build on Python 3.12)
- Loosen remaining dev dep pins from ^ to >=
…iy minimum versions for deps in pyproject.toml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants