Skip to content

Commit bd55709

Browse files
committed
add a note
1 parent 1e62421 commit bd55709

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎tests/integration/BUILD.bazel‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
load("@rules_bazel_integration_test//bazel_integration_test:defs.bzl", "default_test_runner")
1616
load("//python:py_binary.bzl", "py_binary")
1717
load("//python:py_library.bzl", "py_library")
18+
load("//tests/support:support.bzl", "NOT_WINDOWS")
1819
load(":integration_test.bzl", "rules_python_integration_test")
1920

2021
licenses(["notice"])
@@ -132,6 +133,17 @@ py_library(
132133
name = "uv_lock_pypi_server_lib",
133134
srcs = ["uv_lock_pypi_server.py"],
134135
imports = ["../../"],
136+
# currently windows is not working due to
137+
# https://github.com/pypiserver/pypiserver/blob/main/pypiserver/config.py#L123
138+
#
139+
# class DEFAULTS:
140+
# ....
141+
# PACKAGE_DIRECTORIES = [pathlib.Path("~/packages").expanduser().resolve()]
142+
# ....
143+
#
144+
# which is loaded through `__init__.py` even though it is not used and breaks because
145+
# in a Windows sandbox one cannot resolve the home directory.
146+
target_compatible_with = NOT_WINDOWS,
135147
deps = ["@pypiserver//pypiserver"],
136148
)
137149

0 commit comments

Comments
 (0)