-
Notifications
You must be signed in to change notification settings - Fork 22
Python312 compat #65
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
Open
greatheights82
wants to merge
12
commits into
master
Choose a base branch
from
python312-compat
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Python312 compat #65
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ac4b289
Switch build backend to poetry-core
Joel-Pearce b192c4c
Replace deprecated inspect.getcallargs with Signature.bind
Joel-Pearce 245c0a5
Feat: Allow passing environment variables in to container
benhowes 466b8dd
Update dependency pins for Python 3.12 and pytest 8 compatibility
greatheights82 9e852ad
Regenerate poetry.lock for updated dependencies
greatheights82 109aca5
Migrate dev-dependencies to modern poetry group syntax
greatheights82 974f6bd
Update changelog for 0.7.0 release
greatheights82 df4233d
Bump mypy to >=1.0 to drop typed-ast dependency
greatheights82 596d6e4
Bump dev dependencies for Python 3.12 compatibility
greatheights82 e4b7890
update readme
greatheights82 e050a49
Fix flake8 linting
5e0c3df
Default LocalStack image to 4.13 and fix session start retries
greatheights82 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| [tool.poetry] | ||
| name = "pytest-localstack" | ||
| version = "0.6.1" | ||
| version = "0.7.0" | ||
| description = "Pytest plugin for AWS integration tests" | ||
| authors = ["Mintel Group Ltd."] | ||
| license = "MIT" | ||
|
|
@@ -15,9 +15,10 @@ classifiers = [ | |
| "License :: OSI Approved :: MIT License", | ||
| "Operating System :: POSIX", | ||
| "Operating System :: Unix", | ||
| "Programming Language :: Python :: 3.6", | ||
| "Programming Language :: Python :: 3.7", | ||
| "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", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python", | ||
| "Topic :: Software Development :: Libraries", | ||
|
|
@@ -30,31 +31,32 @@ include = ["CHANGELOG.rst", "LICENSE"] | |
| localstack = "pytest_localstack" | ||
|
|
||
| [tool.poetry.dependencies] | ||
| python = "^3.7.0" | ||
| python = "^3.9" | ||
| botocore = "!=1.4.45" | ||
| urllib3 = "<2" # https://github.com/orgs/python-poetry/discussions/7937#discussioncomment-5921842 | ||
| docker = "^6.0.0" | ||
| pluggy = "^0.12.0" | ||
| pytest = "^6.0.0" # need caplog (+ warnings for tests) | ||
| docker = ">=7.0.0" | ||
| pluggy = ">=1.0.0" | ||
| pytest = ">=7" | ||
|
|
||
| [tool.poetry.dev-dependencies] | ||
| [tool.poetry.group.dev.dependencies] | ||
| boto3 = "*" | ||
| hypothesis = "*" | ||
| black = "*" | ||
|
Comment on lines
41
to
43
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could we get versioning on these dependencies as well instead of just having them as * . |
||
| isort = "^5.8.0" | ||
| mypy = "^0.812" | ||
| flake8 = "^3.9.2" | ||
| bandit = "^1.7.0" | ||
| pyproject-flake8 = "^0.0.1-alpha.2" | ||
| coverage = {extras = ["toml"], version = "^5.5"} | ||
| codecov = "^2.1.11" | ||
| pytest-cov = "^2.12.1" | ||
| pytest-xdist = "^2.2.1" | ||
| Sphinx = "^4.0.2" | ||
| isort = ">=5.8.0" | ||
| mypy = ">=1.0" | ||
| flake8 = ">=6.0" | ||
| bandit = ">=1.7.5" | ||
| pyyaml = ">=6.0.1" | ||
| coverage = {extras = ["toml"], version = ">=7.0"} | ||
| codecov = ">=2.1.11" | ||
| pytest-cov = ">=4.0" | ||
| pytest-timeout = ">=2.1" | ||
| pytest-xdist = ">=3.0" | ||
| Sphinx = ">=4.0.2" | ||
| flake8-pyproject = "^1.2.4" | ||
|
|
||
| [build-system] | ||
| requires = ["setuptools", "wheel"] | ||
| build-backend = "setuptools.build_meta:__legacy__" | ||
| requires = ["poetry-core>=1.0.0"] | ||
| build-backend = "poetry.core.masonry.api" | ||
|
|
||
| [tool.pytest.ini_options] | ||
| norecursedirs = ".* build dist *.egg tmp*" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pyproject.toml says pytest >= 7