-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: add 3.11 to classifiers and upgrade Docker #5225
Changes from all commits
076e4af
38d656c
6827a75
02755c1
c1f5ba8
85ed4be
c3cf2ff
c1d6c50
efc7026
044ea89
1a632b4
456a0fc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
-r pre-dev.txt | ||
|
||
coverage==5.3 | ||
coverage==7.2.7 | ||
pytest-cov==4.0.0 | ||
|
||
|
||
# type checking and related stubs | ||
# mypy adds new rules in new minor versions, which could cause our PR check to fail | ||
# here we fix its version and upgrade it manually in the future | ||
mypy==0.790 | ||
mypy==1.3.0 | ||
boto3-stubs[apigateway,cloudformation,ecr,iam,lambda,s3,schemas,secretsmanager,signer,stepfunctions,sts,xray]==1.26.131 | ||
types-pywin32==306.0.0.0 | ||
types-PyYAML==6.0.12 | ||
types-chevron==0.14.2.4 | ||
types-psutil==5.9.5.12 | ||
types-setuptools==65.4.0.0 | ||
types-Pygments==2.15.0.1 | ||
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. thanks for adding the others! |
||
types-colorama==0.4.15.11 | ||
types-dateparser==1.1.4.9 | ||
types-docutils==0.20.0.1 | ||
types-jsonschema==4.17.0.8 | ||
types-pyOpenSSL==23.2.0.0 | ||
types-requests==2.31.0.1 | ||
types-urllib3==1.26.25.13 | ||
|
||
# Test requirements | ||
pytest==7.2.2 | ||
pytest~=7.2.2 | ||
parameterized==0.9.0 | ||
pytest-xdist==3.2.0 | ||
pytest-forked==1.6.0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
from typing import List | ||
|
||
CONFIG = namedtuple( | ||
"Capability", | ||
"CONFIG", | ||
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. is this right? 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. I could ignore them but mypy complains. This is the "name-match" error mypy throws. |
||
[ | ||
"language", | ||
"dependency_manager", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -206,9 +206,6 @@ def create(self): | |
# Ex: 128m => 128MB | ||
kwargs["mem_limit"] = "{}m".format(self._memory_limit_mb) | ||
|
||
if self.network_id == "host": | ||
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. Removing this as this never worked anyways. 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. Should we add a help text or note. along with a pinned issue for this? |
||
kwargs["network_mode"] = self.network_id | ||
|
||
real_container = self.docker_client.containers.create(self._image, **kwargs) | ||
self.id = real_container.id | ||
|
||
|
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.
Integ tests seem to be passing.