-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #734 from glotzerlab/release/2.5.0
Release/2.5.0
- Loading branch information
Showing
14 changed files
with
95 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,18 +33,25 @@ export MACOSX_DEPLOYMENT_TARGET=10.12 | |
# tries to delete them again and causes errors. To avoid this issue, we update | ||
# manually here for the current main version of Python (required by pyenv). | ||
brew upgrade [email protected] | ||
brew install cmake | ||
brew install pyenv | ||
eval "$(pyenv init -)" | ||
# Check supported versions with pyenv install --list | ||
PY_VERSIONS=(3.6.12 3.7.9 3.8.6 3.9.0) | ||
PY_VERSIONS=(3.6.13 3.7.10 3.8.7 3.9.1) | ||
|
||
# Build TBB | ||
git clone https://github.com/intel/tbb.git | ||
cd tbb | ||
cd ~/ | ||
git clone https://github.com/oneapi-src/oneTBB.git | ||
cd oneTBB | ||
mkdir -p build | ||
cd build | ||
cmake ../ -DTBB_TEST=OFF | ||
make | ||
BUILD_DIR=$(find build -name mac*release) | ||
cmake -DCOMPONENT=runtime -P cmake_install.cmake | ||
cmake -DCOMPONENT=devel -P cmake_install.cmake | ||
BUILD_DIR=$(dirname $(find . -name vars.sh)) | ||
cd ${BUILD_DIR} | ||
source tbbvars.sh | ||
source vars.sh | ||
# Force the TBB path to use an absolute path to itself for others to find. | ||
install_name_tool -id "${PWD}/libtbb.dylib" libtbb.dylib | ||
cd ~/ | ||
|
@@ -56,20 +63,11 @@ for VERSION in ${PY_VERSIONS[@]}; do | |
pyenv global ${VERSION} | ||
|
||
pip install --upgrade pip | ||
pip install cython scikit-build cmake --ignore-installed -q --progress-bar=off | ||
rm -rf numpy-1.14.6 | ||
curl -sSLO https://github.com/numpy/numpy/archive/v1.14.6.tar.gz | ||
tar -xzf v1.14.6.tar.gz | ||
cd numpy-1.14.6 | ||
rm -f numpy/random/mtrand/mtrand.c | ||
rm -f PKG-INFO | ||
pip install . --no-deps --ignore-installed -v -q --progress-bar=off | ||
|
||
pip install wheel delocate --progress-bar=off | ||
pip install cython scikit-build cmake oldest-supported-numpy wheel delocate --ignore-installed -q --progress-bar=off | ||
pip wheel ~/ci/freud/ -w ~/wheelhouse/ --no-deps --no-build-isolation --no-use-pep517 | ||
done | ||
|
||
# Update RPath for wheels | ||
# Update RPATH for wheels | ||
for whl in ~/wheelhouse/freud*.whl; do | ||
delocate-wheel "$whl" -w ~/ci/freud/wheelhouse/ | ||
done | ||
|
@@ -80,10 +78,15 @@ for VERSION in ${PY_VERSIONS[@]}; do | |
pyenv global ${VERSION} | ||
|
||
pip install freud_analysis --no-deps --no-index -f ~/ci/freud/wheelhouse | ||
# Don't install MDAnalysis and skip the relevant tests. | ||
cat ~/ci/freud/requirements/requirements-test.txt | grep -v MDAnalysis | xargs -n 1 pip install -U --progress-bar=off | ||
cd ~/ci/freud/tests | ||
python -m unittest discover . -v | ||
if [[ $(python --version 2>&1) == *"3.6."* ]]; then | ||
# Python 3.6 is only supported with oldest requirements | ||
pip install -U -r ~/ci/freud/.circleci/ci-oldest-reqs.txt --progress-bar=off --no-use-pep517 --no-build-isolation | ||
else | ||
# Don't install MDAnalysis and skip the relevant tests | ||
cat ~/ci/freud/requirements/requirements-test.txt | grep -v MDAnalysis | xargs -n 1 pip install -U --progress-bar=off --no-use-pep517 --no-build-isolation | ||
fi | ||
cd ~/ci/freud/tests/ | ||
python -m pytest . -v | ||
done | ||
|
||
pip install --user twine | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,9 @@ Mayank Agrawal <[email protected]> Mayank Agrawal <[email protected]. | |
Mayank Agrawal <[email protected]> Mayank Agrawal <[email protected]> | ||
Jens Glaser <[email protected]> Jens-Steffen Glaser <[email protected]> | ||
Bryan VanSaders <[email protected]> Bryan Vansaders <[email protected]> | ||
Tim Moore <[email protected]> Timothy Moore <[email protected]> | ||
Tim Moore <[email protected]> mootimot <[email protected]> | ||
Tim Moore <[email protected]> Timothy Moore <[email protected]> | ||
Tim Moore <[email protected]> mootimot <[email protected]> | ||
Tim Moore <[email protected]> Tim Moore <[email protected]> | ||
Andrew Karas <[email protected]> Andrew Karas <[email protected]> | ||
Andrew Karas <[email protected]> Andrew <[email protected]> | ||
Alex Dutton <[email protected]> alxdttn <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
2066 Vyas Ramasubramani <[email protected]> | ||
1773 Bradley Dice <[email protected]> | ||
1862 Bradley Dice <[email protected]> | ||
1030 Eric Harper <[email protected]> | ||
456 Jin Soo Ihm <[email protected]> | ||
278 Joshua A. Anderson <[email protected]> | ||
281 Joshua A. Anderson <[email protected]> | ||
240 Matthew Spellings <[email protected]> | ||
159 Kelly Wang <[email protected]> | ||
110 Erin Teich <[email protected]> | ||
|
@@ -12,13 +12,13 @@ | |
41 Yezhi Jin <[email protected]> | ||
40 Antonio Osorio <[email protected]> | ||
35 Michael Stryk <[email protected]> | ||
35 dependabot <dependabot[bot]@users.noreply.github.com> | ||
31 Richmond Newman <[email protected]> | ||
30 Tommy Waltmann <[email protected]> | ||
25 Carl Simon Adorf <[email protected]> | ||
22 Jens Glaser <[email protected]> | ||
17 dependabot <dependabot[bot]@users.noreply.github.com> | ||
14 Tim Moore <[email protected]> | ||
13 Pavel Buslaev <[email protected]> | ||
12 Tim Moore <[email protected]> | ||
10 Benjamin Schultz <[email protected]> | ||
10 Bryan VanSaders <[email protected]> | ||
10 Matt Palathingal <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters