Skip to content

Commit

Permalink
ξ˜• πŸ’… Move common pip-tools settings to a config
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Apr 2, 2024
1 parent 41584b8 commit 82dba14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/pip-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ jobs:
python -m piptools compile
--allow-unsafe
${{
(
github.event_name == 'workflow_dispatch'
Expand All @@ -159,9 +158,7 @@ jobs:
)
|| '--upgrade'
}}
--resolver backtracking
--output-file="requirements/${BASE_NAME}.txt"
--strip-extras
"requirements/${BASE_NAME}.in"
setup.cfg
Expand Down
5 changes: 5 additions & 0 deletions .pip-tools.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[tool.pip-tools]
allow-unsafe = true # weird outdated default
generate-hashes = false # pip bug https://github.com/pypa/pip/issues/9243
resolver = "backtracking" # modern depresolver
strip-extras = true # so that output files are true pip constraints

0 comments on commit 82dba14

Please sign in to comment.