Skip to content

Commit

Permalink
fix: Priority.DEFAULT -> Priority.PRIMARY (#14)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
chadac authored Sep 29, 2024
1 parent 3ed8f2d commit 0faf6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry_plugin_pypi_proxy/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def activate(self, poetry: Poetry, io: IO) -> None:
LegacyProxyRepository(
name=proxy_id, url=f"{proxy_url}/simple/", config=poetry.config
),
priority=Priority.DEFAULT,
priority=Priority.PRIMARY,
)

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

0 comments on commit 0faf6f0

Please sign in to comment.