Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -48,7 +48,7 @@ updates:
- "version-update:semver-minor"

- package-ecosystem: "pip"
directory: "/"
directory: "/requirements/"
labels:
- "dependencies"
- "python"
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/fork_pr_benchmarks_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,7 @@ jobs:
key: ${{ matrix.platform.runner }}-pip-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('requirements.txt') }}
# Build a virtualenv, but only if it doesn't already exist
- name: Populate pip cache
# requirements.txt is not reliable since across different platforms and
# their versions the pip package versions might vary. We regenerate it
# again from pyproject.toml every time when pyproject.toml or
# requirements.txt changes. The pinned versions in requirements.txt are
# tested by coverage since that is running on ubuntu which is also used
# to produce the main requirements.txt file.
run: |
pip install pip-tools
pip-compile --generate-hashes --extra dev pyproject.toml > requirements.txt
pip install -r requirements.txt
run: pip install -r requirements/dev_${{ RUNNER_OS }}_requirements.txt
if: steps.cache.outputs.cache-hit != 'true'
- name: Save cache
id: cache-save
Expand All @@ -61,7 +52,7 @@ jobs:
key: ${{ steps.cache.outputs.cache-primary-key }}
if: steps.cache.outputs.cache-hit != 'true'
- name: Install sedpack locally
run: pip install --editable .
run: pip install --editable '.[dev]'
# end: Use source sedpack package

- name: Prepare benchmarking data
Expand Down
14 changes: 1 addition & 13 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
platform:
- runner: ubuntu-latest # x64
- runner: windows-latest # x64
- runner: macos-14 # arm64
- runner: macos-15-intel # Intel
- runner: macos-latest # arm64
if: github.event_name != 'schedule'
steps:
Expand All @@ -51,17 +49,7 @@ jobs:
key: ${{ matrix.platform.runner }}-pip-${{ hashFiles('pyproject.toml') }}
# Build a virtualenv, but only if it doesn't already exist
- name: Populate pip cache
# requirements.txt is not reliable since across different platforms and
# their versions the pip package versions might vary. We regenerate it
# again from pyproject.toml every time when pyproject.toml or
# requirements.txt changes. The pinned versions in requirements.txt are
# tested by coverage since that is running on ubuntu which is also used
# to produce the main requirements.txt file.
run: |
pip install pip==25.2 # TODO(remove the pinning) pip-tools issue 2252
pip install pip-tools
pip-compile --generate-hashes --extra dev pyproject.toml > dev_requirements.txt
pip install -r dev_requirements.txt
run: pip install -r requirements/dev_${{ RUNNER_OS }}_requirements.txt
if: steps.cache.outputs.cache-hit != 'true'
- name: Save cache
id: cache-save
Expand Down
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@ Development dependencies:

### Update dependencies

Make sure to have: `sudo apt install python3 python3-pip python3-venv` and
activated the virtual environment.

Install requirements: `pip install --require-hashes -r base-tooling-requirements.txt`

Update: `pip-compile pyproject.toml --generate-hashes --upgrade` and commit requirements.txt.
Run `tools/pip_compile.sh` (which will install [uv](https://docs.astral.sh/uv/guides/install-python/)).

#### Package install

Expand Down
12 changes: 0 additions & 12 deletions base-tooling-requirements.txt

This file was deleted.

Loading
Loading