Skip to content

Commit

Permalink
Use SETUPTOOLS_USE_DISTUTILS=stdlib for newer setuptools
Browse files Browse the repository at this point in the history
 * removal of distutils.log.Log from setuptools breaks
   building packages like numpy. See pypa/setuptools#3693
 * we have used SETUPTOOLS_USE_DISTUTILS alternative already in #1924
 * update circle-ci and azure pipelines similarly
  • Loading branch information
pramodk committed Nov 23, 2022
1 parent fb8d0c2 commit 3320f49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
-e NRN_RELEASE_UPLOAD \
-e NEURON_WHEEL_VERSION \
-e NRN_BUILD_FOR_UPLOAD=1 \
-e SETUPTOOLS_USE_DISTUTILS=stdlib \
'neuronsimulator/neuron_wheel:latest-gcc9-aarch64' \
packaging/python/build_wheels.bash linux << parameters.NRN_PYTHON_VERSION >> coreneuron
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ stages:
-e NRN_RELEASE_UPLOAD \
-e NEURON_WHEEL_VERSION \
-e NRN_BUILD_FOR_UPLOAD=1 \
-e SETUPTOOLS_USE_DISTUTILS=stdlib \
'neuronsimulator/neuron_wheel:latest-gcc9-x86_64' \
packaging/python/build_wheels.bash linux $(python.version) coreneuron
displayName: 'Building ManyLinux Wheel'
Expand Down

0 comments on commit 3320f49

Please sign in to comment.