Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Work around "[Error 35] Resource unavailable" on Python 2.7 during CI conda packaging #1259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 5, 2018
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
6 changes: 4 additions & 2 deletions .circleci/create_conda_packages.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Install conda dependencies
conda install -y conda-build conda-verify zip

# Make artifacts directory (will be uploaded to CircleCI after build)
mkdir artifacts

# Perform build
conda build --python $PYTHON_VERSION recipe/
conda build --python $PYTHON_VERSION recipe/ > artifacts/conda-build.out.txt 2>&1

# Convert to other architectures
mkdir -p ./conda_packages_${PYTHON_VERSION}/linux-64/
Expand All @@ -13,5 +16,4 @@ conda convert -p win-64 ./conda_packages_${PYTHON_VERSION}/linux-64/plotly-*.tar
conda convert -p win-32 ./conda_packages_${PYTHON_VERSION}/linux-64/plotly-*.tar.bz2 -o ./conda_packages_${PYTHON_VERSION}/

# zip up packages into artifacts directory
mkdir artifacts
zip -r artifacts/conda_packages_${PYTHON_VERSION}.zip ./conda_packages_${PYTHON_VERSION}/
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source:

build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -v"

requirements:
build:
Expand Down