This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 3323281045 Python: Add unmarked unit test marker (#8546)
3323281045 is described below
commit 3323281045a72f1156d58c261067469e383fb26d
Author: Fokko Driesprong <[email protected]>
AuthorDate: Mon Sep 11 00:33:22 2023 +0200
Python: Add unmarked unit test marker (#8546)
---
.github/workflows/python-release.yml | 2 +-
python/pyproject.toml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/python-release.yml
b/.github/workflows/python-release.yml
index 32b02a0022..1c231c486c 100644
--- a/.github/workflows/python-release.yml
+++ b/.github/workflows/python-release.yml
@@ -70,7 +70,7 @@ jobs:
# Ignore 32 bit architectures
CIBW_ARCHS: "auto64"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8,<3.12"
- CIBW_TEST_REQUIRES: "pytest moto"
+ CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==4.2.2"
CIBW_TEST_EXTRAS: "s3fs,glue"
CIBW_TEST_COMMAND: "pytest -Werror
{project}/python/tests/avro/test_decoder.py"
# There is an upstream issue with installing on MacOSX
diff --git a/python/pyproject.toml b/python/pyproject.toml
index abeb5bdf82..c3d61e2131 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -114,6 +114,7 @@ gcsfs = ["gcsfs"]
[tool.pytest.ini_options]
markers = [
+ "unmarked: marks a test as a unittest",
"s3: marks a test as requiring access to s3 compliant storage (use with
--aws-access-key-id, --aws-secret-access-key, and --endpoint args)",
"adlfs: marks a test as requiring access to adlfs compliant storage (use
with --adlfs.account-name, --adlfs.account-key, and --adlfs.endpoint args)",
"integration: marks integration tests against Apache Spark",