8000 [MNT]: create build-requirements.txt and update dev-requirements.txt … · matplotlib/matplotlib@8b32a0b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b32a0b

Browse files
authored
[MNT]: create build-requirements.txt and update dev-requirements.txt (#28091)
* MNT: Add meson-python, numpy, pybind11 and setuptools-scm in requirements/doc/doc-requirements.txt * Update the CI build files to refer to the requirments file rather than installing dependencies manually
1 parent f3359a3 commit 8b32a0b

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ commands:
103103
- run:
104104
name: Install Python dependencies
105105
command: |
106-
python -m pip install --user meson-python numpy pybind11 setuptools-scm
106+
python -m pip install --user -r requirements/dev/build-requirements.txt
107107
python -m pip install --user \
108108
numpy<< parameters.numpy_version >> \
109109
-r requirements/doc/doc-requirements.txt

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ stages:
135135
136136
- bash: |
137137
python -m pip install --upgrade pip
138-
python -m pip install --upgrade meson-python numpy pybind11 setuptools-scm
138+
python -m pip install --upgrade -r requirements/dev/build-requirements.txt
139139
python -m pip install -r requirements/testing/all.txt -r requirements/testing/extra.txt
140140
displayName: 'Install dependencies with pip'
141141
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pybind11
2+
meson-python
3+
numpy
4+
setuptools-scm

requirements/dev/dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
-r build-requirements.txt
12
-r ../doc/doc-requirements.txt
23
-r ../testing/all.txt
34
-r ../testing/extra.txt

0 commit comments

Comments
 (0)
0