Skip to content

Only run dependabot on the "main" requirements.txt #296

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2023
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
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