Skip to content

Ignore this #62034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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