Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/tests/test_validate_min_versions_in_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
],
)
def test_pin_min_versions_to_yaml_file(src_toml, src_yaml, expected_yaml) -> None:
with open(src_toml, "rb") as toml_f:
with open(src_toml, "rb", encoding="utf-8") as toml_f:
toml_map = tomllib.load(toml_f)
with open(src_yaml, encoding="utf-8") as yaml_f:
yaml_file_data = yaml_f.read()
Expand Down
2 changes: 1 addition & 1 deletion scripts/validate_min_versions_in_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def get_versions_from_toml() -> dict[str, str]:
"""Min versions in pyproject.toml for pip install pandas[extra]."""
install_map = _optional.INSTALL_MAPPING
optional_dependencies = {}
with open(SETUP_PATH, "rb") as pyproject_f:
with open(SETUP_PATH, "rb", encoding="utf-8") as pyproject_f:
pyproject_toml = tomllib.load(pyproject_f)
opt_deps = pyproject_toml["project"]["optional-dependencies"]
dependencies = set(opt_deps["all"])
Expand Down
Loading