Skip to content

Commit 5e4b174

Browse files
committed
Test: Testing pipelines
1 parent 364ca58 commit 5e4b174

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/tests/test_validate_min_versions_in_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
],
4848
)
4949
def test_pin_min_versions_to_yaml_file(src_toml, src_yaml, expected_yaml) -> None:
50-
with open(src_toml, "rb") as toml_f:
50+
with open(src_toml, "rb", encoding="utf-8") as toml_f:
5151
toml_map = tomllib.load(toml_f)
5252
with open(src_yaml, encoding="utf-8") as yaml_f:
5353
yaml_file_data = yaml_f.read()

scripts/validate_min_versions_in_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def get_versions_from_toml() -> dict[str, str]:
237237
"""Min versions in pyproject.toml for pip install pandas[extra]."""
238238
install_map = _optional.INSTALL_MAPPING
239239
optional_dependencies = {}
240-
with open(SETUP_PATH, "rb") as pyproject_f:
240+
with open(SETUP_PATH, "rb", encoding="utf-8") as pyproject_f:
241241
pyproject_toml = tomllib.load(pyproject_f)
242242
opt_deps = pyproject_toml["project"]["optional-dependencies"]
243243
dependencies = set(opt_deps["all"])

0 commit comments

Comments
 (0)