From be78e3e0b23e16048a9597ca11fb1c756c5cf0d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 01:20:40 +0000 Subject: [PATCH] Bump pytest from 7.4.4 to 8.2.0 in /examples/python-* Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.4 to 8.2.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.4...8.2.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .gitignore | 3 +++ examples/python-bazel/.bazelrc | 3 +++ examples/python-bazel/.bazelversion | 2 +- examples/python-bazel/.gitignore | 2 +- examples/python-bazel/WORKSPACE.bazel | 12 ++++++------ examples/python-bazel/requirements.txt | 2 +- examples/python-pytest/requirements.txt | 2 +- 7 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 3dc9a0cf..6e32e15e 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,9 @@ # Log files *.log +# MacOS generated files +.DS_Store + # Created by https://www.toptal.com/developers/gitignore/api/go,intellij # Edit at https://www.toptal.com/developers/gitignore?templates=go,intellij diff --git a/examples/python-bazel/.bazelrc b/examples/python-bazel/.bazelrc index b9fbfa6e..b0517275 100644 --- a/examples/python-bazel/.bazelrc +++ b/examples/python-bazel/.bazelrc @@ -7,3 +7,6 @@ test --test_output=errors # creating (possibly empty) __init__.py files and adding them to the srcs of # Python targets as required. build --incompatible_default_to_explicit_init_py + +# Disable bzlmod for now, until it's officially released +common --noenable_bzlmod diff --git a/examples/python-bazel/.bazelversion b/examples/python-bazel/.bazelversion index 6abaeb2f..21c8c7b4 100644 --- a/examples/python-bazel/.bazelversion +++ b/examples/python-bazel/.bazelversion @@ -1 +1 @@ -6.2.0 +7.1.1 diff --git a/examples/python-bazel/.gitignore b/examples/python-bazel/.gitignore index 26cf4168..6e705035 100644 --- a/examples/python-bazel/.gitignore +++ b/examples/python-bazel/.gitignore @@ -1,3 +1,3 @@ -bazel-*/ +bazel-* pytest/ .pytest_cache/ diff --git a/examples/python-bazel/WORKSPACE.bazel b/examples/python-bazel/WORKSPACE.bazel index 29ad773e..3da6eb6a 100644 --- a/examples/python-bazel/WORKSPACE.bazel +++ b/examples/python-bazel/WORKSPACE.bazel @@ -4,16 +4,16 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_python", - sha256 = "94750828b18044533e98a129003b6a68001204038dc4749f40b195b24c38f49f", - strip_prefix = "rules_python-0.21.0", - url = "https://github.com/bazelbuild/rules_python/releases/download/0.21.0/rules_python-0.21.0.tar.gz", + sha256 = "c68bdc4fbec25de5b5493b8819cfc877c4ea299c0dcb15c244c5a00208cde311", + strip_prefix = "rules_python-0.31.0", + url = "https://github.com/bazelbuild/rules_python/releases/download/0.31.0/rules_python-0.31.0.tar.gz", ) http_archive( name = "rules_python_pytest", - sha256 = "334a0ac91a0d6a87df499cdf9b70b525754dc8ca4873763116d67177f759389f", - strip_prefix = "rules_python_pytest-1.0.2", - url = "https://github.com/caseyduquettesc/rules_python_pytest/archive/v1.0.2.tar.gz", + sha256 = "8b82935e16f7b28e3711a68ae5f88f44d8685ccd906b869f7721fdd4c32f2369", + strip_prefix = "rules_python_pytest-1.1.0", + url = "https://github.com/caseyduquettesc/rules_python_pytest/releases/download/v1.1.0/rules_python_pytest-v1.1.0.tar.gz", ) load("@rules_python//python:repositories.bzl", "py_repositories") diff --git a/examples/python-bazel/requirements.txt b/examples/python-bazel/requirements.txt index 9d69c97b..eda50329 100644 --- a/examples/python-bazel/requirements.txt +++ b/examples/python-bazel/requirements.txt @@ -1,3 +1,3 @@ pytest == 7.0.1; python_version < '3.7' pytest == 7.4.4; python_version in '3.7' -pytest == 8.1.1; python_version >= '3.8' +pytest == 8.2.0; python_version >= '3.8' diff --git a/examples/python-pytest/requirements.txt b/examples/python-pytest/requirements.txt index 9d69c97b..eda50329 100644 --- a/examples/python-pytest/requirements.txt +++ b/examples/python-pytest/requirements.txt @@ -1,3 +1,3 @@ pytest == 7.0.1; python_version < '3.7' pytest == 7.4.4; python_version in '3.7' -pytest == 8.1.1; python_version >= '3.8' +pytest == 8.2.0; python_version >= '3.8'