Skip to content

Releases: caseyduquettesc/rules_python_pytest

v1.1.1

13 Jul 00:24
5591c0b
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "caseyduquettesc_rules_python_pytest", version = "1.1.1", repo_name = "rules_python_pytest")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_pytest",
    sha256 = "e2556404ef56ea3ec938597616afc51d78e1832cfe511b196e9f2b8fd7f8f149",
    strip_prefix = "rules_python_pytest-1.1.1",
    url = "https://github.com/caseyduquettesc/rules_python_pytest/releases/download/v1.1.1/rules_python_pytest-v1.1.1.tar.gz",
)

load("@rules_python_pytest//python_pytest:repositories.bzl", "rules_python_pytest_dependencies")

rules_python_pytest_dependencies()

What's Changed

  • Do not mangle arguments on newer pytest versions by @amartani in #11
  • Do not convert --test_filter a.py to a::py by @raylu in #12

New Contributors

  • @raylu made their first contribution in #12

Full Changelog: v1.1.0...v1.1.1

v1.1.0

09 Nov 23:04
7c07b39
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "caseyduquettesc_rules_python_pytest", version = "1.1.0", repo_name = "rules_python_pytest")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_pytest",
    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_pytest//python_pytest:repositories.bzl", "rules_python_pytest_dependencies")

rules_python_pytest_dependencies()

What's Changed

Full Changelog: v1.0.9...v1.1.0

v1.0.9

17 Aug 19:23
983d131
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "caseyduquettesc_rules_python_pytest", version = "1.0.9", repo_name = "rules_python_pytest")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_pytest",
    sha256 = "81e6677246960cf50d037b9bad586c81994b6b940094f1e51c03970ea01239b4",
    strip_prefix = "rules_python_pytest-1.0.9",
    url = "https://github.com/caseyduquettesc/rules_python_pytest/releases/download/v1.0.9/rules_python_pytest-v1.0.9.tar.gz",
)

load("@rules_python_pytest//python_pytest:repositories.bzl", "rules_python_pytest_dependencies")

rules_python_pytest_dependencies()

What's Changed

Full Changelog: v1.0.8...v1.0.9

v1.0.8

07 Aug 18:14
5b8b76a
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "caseyduquettesc_rules_python_pytest", version = "1.0.8", repo_name = "rules_python_pytest")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_pytest",
    sha256 = "9aaa8b2353c2671a3859ec04b9206d9552e8a7ae8c1226e5f60dadd443af094e",
    strip_prefix = "rules_python_pytest-1.0.8",
    url = "https://github.com/caseyduquettesc/rules_python_pytest/releases/download/v1.0.8/rules_python_pytest-v1.0.8.tar.gz",
)

load("@rules_python_pytest//python_pytest:repositories.bzl", "rules_python_pytest_dependencies")

rules_python_pytest_dependencies()

What's Changed

  • Re-write flag values to place generated files in undeclared outputs dir by @amartani in #7

Full Changelog: v1.0.7...v1.0.8

v1.0.7

31 Jul 00:54
4a4fa85
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "caseyduquettesc_rules_python_pytest", version = "1.0.7", repo_name = "rules_python_pytest")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_pytest",
    sha256 = "7b7086c19beea3fa78e6312fd517ae2c1280631889b0cb07bc5c07b1f1621e45",
    strip_prefix = "rules_python_pytest-1.0.7",
    url = "https://github.com/caseyduquettesc/rules_python_pytest/releases/download/v1.0.7/rules_python_pytest-v1.0.7.tar.gz",
)

load("@rules_python_pytest//python_pytest:repositories.bzl", "rules_python_pytest_dependencies")

rules_python_pytest_dependencies()

What's Changed

Full Changelog: v1.0.6...v1.0.7

v1.0.6

28 Jul 07:22
8447346
Compare
Choose a tag to compare

This version was never published to BCR. Use v1.0.7

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "caseyduquettesc_rules_python_pytest", version = "1.0.6", repo_name = "rules_python_pytest")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_pytest",
    sha256 = "e85de45459710d774a56e18313fa85725a0107ad6dcfe0442ce505435b0bbf28",
    strip_prefix = "rules_python_pytest-1.0.6",
    url = "https://github.com/caseyduquettesc/rules_python_pytest/releases/download/v1.0.6/rules_python_pytest-v1.0.6.tar.gz",
)

load("@rules_python_pytest//python_pytest:repositories.bzl", "rules_python_pytest_dependencies")

rules_python_pytest_dependencies()

What's Changed

Full Changelog: v1.0.5...v1.0.6

v1.0.5

28 Jul 06:12
Compare
Choose a tag to compare

This version was never published to BCR. Use v1.0.7

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "com_github_caseyduquettesc_rules_python_pytest", version = "1.0.5", repo_name = "rules_python_pytest")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_pytest",
    sha256 = "371fb400311ce0c1b924de74eba4bd8872deb58b4bff6385448cd2102149d13d",
    strip_prefix = "rules_python_pytest-1.0.5",
    url = "https://github.com/caseyduquettesc/rules_python_pytest/releases/download/v1.0.5/rules_python_pytest-v1.0.5.tar.gz",
)

load("@rules_python_pytest//python_pytest:repositories.bzl", "rules_python_pytest_dependencies")

rules_python_pytest_dependencies()

Full Changelog: v1.0.4...v1.0.5

v1.0.4

28 Jul 05:15
Compare
Choose a tag to compare
v1.0.4 Pre-release
Pre-release

This version was never published to BCR. Use v1.0.7

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "com_github_caseyduquettesc_rules_python_pytest", version = "1.0.4", repo_name = "rules_python_pytest")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_pytest",
    sha256 = "76dab506fa9ebc958f8974a38ad7e45ed3e1695267925955970282ff2b97a6b9",
    strip_prefix = "rules_python_pytest-1.0.4",
    url = "https://github.com/caseyduquettesc/rules_python_pytest/releases/download/v1.0.4/rules_python_pytest-v1.0.4.tar.gz",
)

load("@rules_python_pytest//python_pytest:repositories.bzl", "rules_python_pytest_dependencies")

rules_python_pytest_dependencies()

What's Changed

New Contributors

Full Changelog: v1.0.3...v1.0.4

v1.0.3

16 Jun 22:56
9800fd8
Compare
Choose a tag to compare

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_pytest",
    sha256 = "1c5fef81ba85c6bc96ba6ae9f26f95c593bc9f09eb727a9893735598eb6a0be5",
    strip_prefix = "rules_python_pytest-1.0.3",
    url = "https://github.com/caseyduquettesc/rules_python_pytest/archive/v1.0.3.tar.gz",
)

# Fetches the rules_python_pytest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@rules_python_pytest//python_pytest:repositories.bzl", "rules_python_pytest_dependencies")
rules_python_pytest_dependencies()

What's Changed

  • Avoid passing init.py files to pytest to mitigate bug by @amartani in #3

Full Changelog: v1.0.2...v1.0.3

v1.0.2

10 Jan 02:23
aa0baf6
Compare
Choose a tag to compare

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
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",
)

# Fetches the rules_python_pytest dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@rules_python_pytest//python_pytest:repositories.bzl", "rules_python_pytest_dependencies")
rules_python_pytest_dependencies()

What's Changed

  • Set --junitxml when corresponding environment variable is available by @amartani in #2

New Contributors

Full Changelog: v1.0.1...v1.0.2