Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move requirements.txt #116

Merged
merged 1 commit into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 2
updates:
# Configuration for pip
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
directory: "/etc/requirements" # Location of package manifests
schedule:
interval: "daily"
# for reference:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
while (($i<12)) && [ "${{ github.ref_name }}" != $(pip index versions -i https://test.pypi.org/simple --pre market_prices | cut -d'(' -f2 | cut -d')' -f1 | sed 1q) ];\
do echo waiting for package to appear in test index, sleeping 5s; sleep 5s; let i++; done
pip install --index-url https://test.pypi.org/simple market_prices==${{ github.ref_name }} --no-deps
pip install -r requirements.txt
pip install -r etc/requirements/requirements.txt
python -c 'import market_prices;print(market_prices.__version__)'

- name: Clean pip
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions etc/requirements/why_here.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
requirements.txt is in this dedicated directory simply so that dependabot
can be configured to look only at thses dependencies and ignore other lock
files (e.g. requirements_dev.txt).