Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bed52f7

Browse filesBrowse files
authored
Work around "[Error 35] Resource unavailable" on Python 2.7 during CI conda packaging (plotly#1259)
* Work around ""[Error 35] Resource unavailable" on Python 2.7 * Write output file to artifacts directory
1 parent be25c50 commit bed52f7
Copy full SHA for bed52f7

File tree

Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed

‎.circleci/create_conda_packages.sh

Copy file name to clipboardExpand all lines: .circleci/create_conda_packages.sh
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Install conda dependencies
22
conda install -y conda-build conda-verify zip
33

4+
# Make artifacts directory (will be uploaded to CircleCI after build)
5+
mkdir artifacts
6+
47
# Perform build
5-
conda build --python $PYTHON_VERSION recipe/
8+
conda build --python $PYTHON_VERSION recipe/ > artifacts/conda-build.out.txt 2>&1
69

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

1518
# zip up packages into artifacts directory
16-
mkdir artifacts
1719
zip -r artifacts/conda_packages_${PYTHON_VERSION}.zip ./conda_packages_${PYTHON_VERSION}/

‎recipe/meta.yaml

Copy file name to clipboardExpand all lines: recipe/meta.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ source:
1010

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

1515
requirements:
1616
build:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.