Skip to content

Commit 0faf6f0

Browse files
authored
fix: Priority.DEFAULT -> Priority.PRIMARY (chadac#14)
* it appears that the default priority has been removed * since this is supposed to be a proxy for what pypi uses, change this to primary * TODO: maybe make this a flag
1 parent 3ed8f2d commit 0faf6f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/poetry_plugin_pypi_proxy/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def activate(self, poetry: Poetry, io: IO) -> None:
109109
LegacyProxyRepository(
110110
name=proxy_id, url=f"{proxy_url}/simple/", config=poetry.config
111111
),
112-
priority=Priority.DEFAULT,
112+
priority=Priority.PRIMARY,
113113
)
114114

115115
# If this is a publish command to Pypi, we'll silenly redirect to the proxy

0 commit comments

Comments
 (0)