Skip to content

Commit 929c6c1

Browse files
authored
Python: Use setuptools[core] (#420)
Install instructions for `setuptools` pip packages changed. https://setuptools.pypa.io/en/latest/userguide/quickstart.html Removes CI issues of this kind: pypa/setuptools#4483 (comment)
1 parent cce2b0d commit 929c6c1

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

.github/workflows/dependencies/dependencies_mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ brew install ccache || true
1515

1616
python3 -m venv venv
1717
source venv/bin/activate
18-
python3 -m pip install -U pip setuptools wheel pytest
18+
python3 -m pip install -U pip setuptools[core] wheel pytest
1919
python3 -m pip install -U cmake

.github/workflows/intel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
4141
export CC=$(which icx)
4242
export CXX=$(which icpx)
43-
python3 -m pip install -U pip setuptools wheel
43+
python3 -m pip install -U pip setuptools[core] wheel
4444
python3 -m pip install -U cmake
4545
python3 -m pip install -U pytest mpi4py
4646
@@ -87,7 +87,7 @@ jobs:
8787
8888
export CC=$(which icx)
8989
export CXX=$(which icpx)
90-
python3 -m pip install -U pip setuptools wheel
90+
python3 -m pip install -U pip setuptools[core] wheel
9191
python3 -m pip install -U cmake
9292
python3 -m pip install -U pytest mpi4py
9393

.github/workflows/stubs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
export CCACHE_MAXSIZE=200M
6262
ccache -z
6363
64-
python3 -m pip install -U pip setuptools wheel
64+
python3 -m pip install -U pip setuptools[core] wheel
6565
python3 -m pip install -U pip mpi4py pytest pybind11-stubgen pre-commit
6666
cmake -S . -B build -DAMReX_SPACEDIM="1;2;3" -DpyAMReX_IPO=OFF
6767
cmake --build build -j 4 --target pip_install

.github/workflows/ubuntu.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
export CMAKE_BUILD_PARALLEL_LEVEL=4
4343
4444
python3 -m pip install -U pip
45-
python3 -m pip install -U build packaging setuptools wheel
45+
python3 -m pip install -U build packaging setuptools[core] wheel
4646
python3 -m pip install -U cmake pytest
4747
AMREX_MPI=ON python3 -m pip install -v .
4848
python3 -c "import amrex.space1d as amr; print(amr.__version__)"
@@ -83,7 +83,7 @@ jobs:
8383
export CC=$(which gcc-10)
8484
export CXX=$(which g++-10)
8585
python3 -m pip install -U pip
86-
python3 -m pip install -U build packaging setuptools wheel
86+
python3 -m pip install -U build packaging setuptools[core] wheel
8787
python3 -m pip install -U cmake
8888
python3 -m pip install -U pandas pytest mpi4py
8989
@@ -137,7 +137,7 @@ jobs:
137137
export CC=$(which clang-6.0)
138138
export CXX=$(which clang++-6.0)
139139
python3 -m pip install -U pip
140-
python3 -m pip install -U build packaging setuptools wheel
140+
python3 -m pip install -U build packaging setuptools[core] wheel
141141
python3 -m pip install -U cmake pytest
142142
python3 -m pip install -v .
143143
python3 -c "import amrex.space1d as amr; print(amr.__version__)"
@@ -182,7 +182,7 @@ jobs:
182182
export CMAKE_BUILD_PARALLEL_LEVEL=4
183183
184184
python3 -m pip install -U pip
185-
python3 -m pip install -U build packaging setuptools wheel
185+
python3 -m pip install -U build packaging setuptools[core] wheel
186186
python3 -m pip install -U cmake
187187
python3 -m pip install -U pandas pytest
188188
python3 -m pip install -v .

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- uses: seanmiddleditch/gha-setup-ninja@master
4747
- name: Build
4848
run: |
49-
python3 -m pip install -U pip setuptools wheel pytest
49+
python3 -m pip install -U pip setuptools[core] wheel pytest
5050
python3 -m pip install -U cmake
5151
python3 -m pip install -r requirements.txt
5252

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Now, `cmake --version` should be at version 3.24.0 or newer.
9090
Or go:
9191
```bash
9292
python3 -m pip install -U pip
93-
python3 -m pip install -U build packaging setuptools wheel
93+
python3 -m pip install -U build packaging setuptools[core] wheel
9494
python3 -m pip install -U cmake
9595
```
9696

docs/source/developers/testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In order to run our tests, you need to have a few :ref:`Python packages installe
1313
.. code-block:: sh
1414
1515
python3 -m pip install -U pip
16-
python3 -m pip install -U build packaging setuptools wheel pytest
16+
python3 -m pip install -U build packaging setuptools[core] wheel pytest
1717
python3 -m pip install -r requirements.txt
1818
1919

docs/source/install/cmake.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ On your development machine, :ref:`follow the instructions here <install-depende
3434
.. code-block:: bash
3535
3636
python3 -m pip install -U pip
37-
python3 -m pip install -U build packaging setuptools wheel pytest
37+
python3 -m pip install -U build packaging setuptools[core] wheel pytest
3838
python3 -m pip install -U -r requirements.txt
3939
4040

0 commit comments

Comments
 (0)