diff --git a/composer.lock b/composer.lock index f1c030ddf..693e434dc 100644 --- a/composer.lock +++ b/composer.lock @@ -1196,16 +1196,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.9", + "version": "9.6.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a9aceaf20a682aeacf28d582654a1670d8826778" + "reference": "a6d351645c3fe5a30f5e86be6577d946af65a328" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a9aceaf20a682aeacf28d582654a1670d8826778", - "reference": "a9aceaf20a682aeacf28d582654a1670d8826778", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a6d351645c3fe5a30f5e86be6577d946af65a328", + "reference": "a6d351645c3fe5a30f5e86be6577d946af65a328", "shasum": "" }, "require": { @@ -1279,7 +1279,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.9" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.10" }, "funding": [ { @@ -1295,7 +1295,7 @@ "type": "tidelift" } ], - "time": "2023-06-11T06:13:56+00:00" + "time": "2023-07-10T04:04:23+00:00" }, { "name": "psr/container", diff --git a/templates/python/.travis.yml.twig b/templates/python/.travis.yml.twig index 712f791bb..bf9a9dffd 100644 --- a/templates/python/.travis.yml.twig +++ b/templates/python/.travis.yml.twig @@ -1,5 +1,7 @@ language: python +dist: bionic + python: - "3.8" diff --git a/templates/python/requirements.txt.twig b/templates/python/requirements.txt.twig index c54ea612b..077c95d8a 100644 --- a/templates/python/requirements.txt.twig +++ b/templates/python/requirements.txt.twig @@ -1 +1 @@ -requests==2.29.0 \ No newline at end of file +requests==2.31.0 \ No newline at end of file diff --git a/templates/python/setup.cfg.twig b/templates/python/setup.cfg.twig index 224a77957..0f94f377b 100644 --- a/templates/python/setup.cfg.twig +++ b/templates/python/setup.cfg.twig @@ -1,2 +1,2 @@ [metadata] -description-file = README.md \ No newline at end of file +description_file = README.md \ No newline at end of file diff --git a/tests/Python310Test.php b/tests/Python310Test.php index a8c5f2cef..945525bb9 100644 --- a/tests/Python310Test.php +++ b/tests/Python310Test.php @@ -14,7 +14,7 @@ class Python310Test extends Base protected array $build = [ 'cp tests/languages/python/tests.py tests/sdks/python/test.py', 'echo "" > tests/sdks/python/__init__.py', - 'docker run --rm -v $(pwd):/app -w /app --env PIP_TARGET=tests/sdks/python/vendor python:3.10 pip install -r tests/sdks/python/requirements.txt --upgrade', + 'docker run --rm -v $(pwd):/app -w /app --env PIP_TARGET=tests/sdks/python/vendor python:3.10-alpine pip install -r tests/sdks/python/requirements.txt --upgrade', ]; protected string $command = 'docker run --rm -v $(pwd):/app -w /app --env PIP_TARGET=tests/sdks/python/vendor --env PYTHONPATH=tests/sdks/python/vendor python:3.10-alpine python tests/sdks/python/test.py'; diff --git a/tests/Python38Test.php b/tests/Python38Test.php index 0fc836224..594f43ffd 100644 --- a/tests/Python38Test.php +++ b/tests/Python38Test.php @@ -14,7 +14,7 @@ class Python38Test extends Base protected array $build = [ 'cp tests/languages/python/tests.py tests/sdks/python/test.py', 'echo "" > tests/sdks/python/__init__.py', - 'docker run --rm -v $(pwd):/app -w /app --env PIP_TARGET=tests/sdks/python/vendor python:3.8 pip install -r tests/sdks/python/requirements.txt --upgrade', + 'docker run --rm -v $(pwd):/app -w /app --env PIP_TARGET=tests/sdks/python/vendor python:3.8-alpine pip install -r tests/sdks/python/requirements.txt --upgrade', ]; protected string $command = 'docker run --rm -v $(pwd):/app -w /app --env PIP_TARGET=tests/sdks/python/vendor --env PYTHONPATH=tests/sdks/python/vendor python:3.8-alpine python tests/sdks/python/test.py'; diff --git a/tests/Python39Test.php b/tests/Python39Test.php index 5dbfe4fcf..0b97471d9 100644 --- a/tests/Python39Test.php +++ b/tests/Python39Test.php @@ -14,7 +14,7 @@ class Python39Test extends Base protected array $build = [ 'cp tests/languages/python/tests.py tests/sdks/python/test.py', 'echo "" > tests/sdks/python/__init__.py', - 'docker run --rm -v $(pwd):/app -w /app --env PIP_TARGET=tests/sdks/python/vendor python:3.9 pip install -r tests/sdks/python/requirements.txt --upgrade', + 'docker run --rm -v $(pwd):/app -w /app --env PIP_TARGET=tests/sdks/python/vendor python:3.9-alpine pip install -r tests/sdks/python/requirements.txt --upgrade', ]; protected string $command = 'docker run --rm -v $(pwd):/app -w /app --env PIP_TARGET=tests/sdks/python/vendor --env PYTHONPATH=tests/sdks/python/vendor python:3.9-alpine python tests/sdks/python/test.py';