Skip to content

Commit

Permalink
Only run dependabot on the "main" requirements.txt (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdboom authored Jun 1, 2023
1 parent 3054f7b commit 45730c0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/pyperformance/requirements"
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include doc/*.rst doc/images/*.png doc/images/*.jpg
include doc/conf.py doc/Makefile doc/make.bat

include pyperformance/*.py
include pyperformance/data-files/requirements.txt
include pyperformance/requirements/requirements.txt
include pyperformance/data-files/benchmarks/MANIFEST
include pyperformance/data-files/benchmarks/bm_*/*.toml
include pyperformance/data-files/benchmarks/bm_*/*.py
Expand Down
3 changes: 3 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changelog
=========

* Move the main requirements.txt file to pyperformance/requirements
so that dependabot can only run on that one file.

Version 1.0.7 (2023-04-22)
-------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --output-file=pyperformance/data-files/requirements.txt requirements.in
# pip-compile --output-file=pyperformance/requirements/requirements.txt requirements.in
#
packaging==23.1
# via -r requirements.in
Expand Down
4 changes: 3 additions & 1 deletion pyperformance/venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
from . import _utils, _pip, _venv


REQUIREMENTS_FILE = os.path.join(pyperformance.DATA_DIR, 'requirements.txt')
REQUIREMENTS_FILE = os.path.join(
os.path.dirname(__file__), 'requirements', 'requirements.txt'
)
PYPERF_OPTIONAL = ['psutil']


Expand Down
2 changes: 1 addition & 1 deletion requirements.txt

0 comments on commit 45730c0

Please sign in to comment.