Skip to content

Commit

Permalink
fix: ensure setuptools is present in riot lock files (#228)
Browse files Browse the repository at this point in the history
* fix: use --allow-unsafe when generating lock files

* Add release note
  • Loading branch information
brettlangdon authored Jul 24, 2024
1 parent 7a6770f commit 5b73ba9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions releasenotes/notes/allow-unsafe-dff39e7251807993.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Ensure ``setuptools`` is included in riot generated lock files. This ensures consistent behavior
for packages and ``riot.Venv``s which depend on ``setuptools``.
1 change: 1 addition & 0 deletions riot/riot.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ def requirements(self) -> str:
"compile",
"-q",
"--no-annotate",
"--allow-unsafe",
in_path,
]
if tuple([int(v) for v in self.py.version().strip("()").split(".")]) >= (3, 7):
Expand Down

0 comments on commit 5b73ba9

Please sign in to comment.