Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Stop renaming the nightly wheels by adding date-time to them #118

Merged
merged 3 commits into from
Apr 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Get a less shallow clone; needed to get the commit count since
# the previous release branch point right.
git:
depth: 3000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could use false to disable the depth restriction.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I know, I chose not to because I only need the commits till the last branch point. Getting all 25,000 of them can be quite slow.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3,000 should be enough for any minor release period I think.


env:
global:
- REPO_DIR=scipy
Expand Down Expand Up @@ -165,8 +170,6 @@ after_success:
# used in Travis CI config, originally
# generated at anaconda.org for scipy-wheels-nightly
- if [ "$TRAVIS_EVENT_TYPE" == "cron" ]; then
source extra_functions.sh;
for f in wheelhouse/*.whl; do rename_wheel $f; done;
ANACONDA_ORG="scipy-wheels-nightly";
pip install git+https://github.com/Anaconda-Platform/anaconda-client.git@ce89e4351eef;
anaconda -t ${SCIPY_WHEELS_NIGHTLY} upload --force -u ${ANACONDA_ORG} ${TRAVIS_BUILD_DIR}/wheelhouse/*.whl;
Expand Down
7 changes: 0 additions & 7 deletions azure-posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ jobs:
TEST_DEPENDS="oldest-supported-numpy pytest pytest-xdist pytest-faulthandler pytest-env"
source multibuild/common_utils.sh
source multibuild/travis_steps.sh
source extra_functions.sh
install_run $PLAT
displayName: Install wheel and test

Expand Down Expand Up @@ -113,13 +112,7 @@ jobs:

- bash: |
set -e
if [ $ANACONDA_ORG == "scipy-wheels-nightly" ]; then
source extra_functions.sh
for f in wheelhouse/*.whl; do rename_wheel $f; done
fi

echo uploading wheelhouse/*.whl

anaconda -v -t $TOKEN upload --force -u $ANACONDA_ORG wheelhouse/*.whl
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
displayName: Upload to anaconda.org (only if secret token is retrieved)
Expand Down
14 changes: 0 additions & 14 deletions extra_functions.sh

This file was deleted.