-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Bump to v0.1.3 #2
Closed
Closed
Changes from 3 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
abcb6b2
MNT: Re-rendered with conda-smithy 2.2.2
basnijholt 5bfbd4f
Update to v0.1.3
basnijholt 4c50f95
Fix sha256
basnijholt 2881cbf
Add coverage as dependency
basnijholt 9c35029
Fix indentation
basnijholt 616548a
Fix version requirements
basnijholt d9cecc9
LICENSE.md -> LICENSE.rst
basnijholt d19559a
Only build py35
basnijholt 3bbd241
MNT: Re-rendered with conda-smithy 2.2.2
basnijholt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# This file was generated automatically from conda-smithy. To update this configuration, | ||
# update the conda-forge.yml and/or the recipe/meta.yaml. | ||
|
||
language: generic | ||
|
||
os: osx | ||
osx_image: xcode6.4 | ||
|
||
env: | ||
matrix: | ||
|
||
- CONDA_PY=35 | ||
- CONDA_PY=36 | ||
global: | ||
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. | ||
- secure: "j5re4dygm7FY0EiTwx64FPViClNY7i85aRRliIzQ8QOycqDTY5S6DzFw1wGWS3bh6EkipsVktufIcXuJA2P3eaXpIMyHBCwyiRuA92jRoeNrrrRMs3T6Gxm/likjOhBOxn4lXf7JNUfnyrxdGpw26vIFz6ZQklza1cdpq6GBYtnO778HY2U6YZcsxSXSCvlj416so8XFtz7xpU31u6NvFqBVVfvPL6Xx0ii3YovEo1vSi8HgnMpL9nlQ7yTdu5YR2lZ6rOj2cBBbHT3wor/qnszIwy0z8LGhaRY8wfYayHvU4pa+2UrocV4YDCJuRvjtHjQ4kg6Uuwq4aCJ6wid8teDwkz1dRAS4kRLWHUWHVt/8pszhANQPWB2WsO1ew9gpN/nLj1cjKr+yGsSrcOePbAAjRpWIgoivZ02UnxG0HLSujxbvyx3H4++ymLu0SM5+3Qaa7IHPcdeI272SL4HmCEKLMklnOxDu6cwFzfCROepOSiaD29YDRRwhroQ9uU3ILDrUyWpb4eHllYx2hqYC8hUGGHA6rMibo1qQCpa4ugbgfTnfGBqVfsvCmQspCz5WDDsOqQb4RCa92zMT9oyCo9mH5AoonNfcLhyQXNELis4IpizU7Cn+2V63W4ZUyPsryL13ZJQByV+28G2aFXXe1LGJjTh2luEEwQxuCbbkCrw=" | ||
|
||
|
||
before_install: | ||
# Fast finish the PR. | ||
- | | ||
(curl https://raw.githubusercontent.com/conda-forge/conda-forge-build-setup-feedstock/master/recipe/ff_ci_pr_build.py | \ | ||
python - -v --ci "travis" "${TRAVIS_REPO_SLUG}" "${TRAVIS_BUILD_NUMBER}" "${TRAVIS_PULL_REQUEST}") || exit 1 | ||
|
||
# Remove homebrew. | ||
- | | ||
echo "" | ||
echo "Removing homebrew from Travis CI to avoid conflicts." | ||
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall > ~/uninstall_homebrew | ||
chmod +x ~/uninstall_homebrew | ||
~/uninstall_homebrew -fq | ||
rm ~/uninstall_homebrew | ||
|
||
|
||
install: | ||
# Install Miniconda. | ||
- | | ||
echo "" | ||
echo "Installing a fresh version of Miniconda." | ||
MINICONDA_URL="https://repo.continuum.io/miniconda" | ||
MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh" | ||
curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}" | ||
bash $MINICONDA_FILE -b | ||
|
||
# Configure conda. | ||
- | | ||
echo "" | ||
echo "Configuring conda." | ||
source /Users/travis/miniconda3/bin/activate root | ||
conda config --remove channels defaults | ||
conda config --add channels defaults | ||
conda config --add channels conda-forge | ||
conda config --set show_channel_urls true | ||
conda install --yes --quiet conda-forge-build-setup | ||
source run_conda_forge_build_setup | ||
|
||
script: | ||
- conda build ./recipe | ||
|
||
- upload_or_check_non_existence ./recipe conda-forge --channel=main |
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# This file was automatically generated by conda-smithy. To update a component of this | ||
# file, make changes to conda-forge.yml and/or recipe/meta.yaml, and run | ||
# "conda smithy rerender". | ||
|
||
environment: | ||
|
||
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the | ||
# /E:ON and /V:ON options are not enabled in the batch script intepreter | ||
# See: http://stackoverflow.com/a/13751649/163740 | ||
CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd" | ||
|
||
BINSTAR_TOKEN: | ||
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. | ||
secure: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC | ||
|
||
matrix: | ||
- TARGET_ARCH: x86 | ||
CONDA_PY: 35 | ||
CONDA_INSTALL_LOCN: C:\\Miniconda35 | ||
|
||
- TARGET_ARCH: x64 | ||
CONDA_PY: 35 | ||
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64 | ||
|
||
- TARGET_ARCH: x86 | ||
CONDA_PY: 36 | ||
CONDA_INSTALL_LOCN: C:\\Miniconda36 | ||
|
||
- TARGET_ARCH: x64 | ||
CONDA_PY: 36 | ||
CONDA_INSTALL_LOCN: C:\\Miniconda36-x64 | ||
|
||
|
||
# We always use a 64-bit machine, but can build x86 distributions | ||
# with the TARGET_ARCH variable. | ||
platform: | ||
- x64 | ||
|
||
install: | ||
# If there is a newer build queued for the same PR, cancel this one. | ||
- cmd: | | ||
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/conda-forge/conda-forge-build-setup-feedstock/master/recipe/ff_ci_pr_build.py', 'ff_ci_pr_build.py')" | ||
ff_ci_pr_build -v --ci "appveyor" "%APPVEYOR_ACCOUNT_NAME%/%APPVEYOR_PROJECT_SLUG%" "%APPVEYOR_BUILD_NUMBER%" "%APPVEYOR_PULL_REQUEST_NUMBER%" | ||
del ff_ci_pr_build.py | ||
|
||
# Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.) | ||
- cmd: rmdir C:\cygwin /s /q | ||
|
||
# Add path, activate `conda` and update conda. | ||
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat | ||
- cmd: conda update --yes --quiet conda | ||
|
||
- cmd: set PYTHONUNBUFFERED=1 | ||
|
||
# Add our channels. | ||
- cmd: conda config --set show_channel_urls true | ||
- cmd: conda config --remove channels defaults | ||
- cmd: conda config --add channels defaults | ||
- cmd: conda config --add channels conda-forge | ||
|
||
# Configure the VM. | ||
- cmd: conda install -n root --quiet --yes obvious-ci | ||
- cmd: conda install -n root --quiet --yes conda-forge-build-setup | ||
- cmd: run_conda_forge_build_setup | ||
|
||
# Skip .NET project specific build phase. | ||
build: off | ||
|
||
test_script: | ||
- "%CMD_IN_ENV% conda build recipe --quiet" | ||
deploy_script: | ||
- cmd: upload_or_check_non_existence .\recipe conda-forge --channel=main |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
|
||
# Update PR refs for testing. | ||
if [[ -n "${CIRCLE_PR_NUMBER}" ]] | ||
then | ||
FETCH_REFS="${FETCH_REFS} +refs/pull/${CIRCLE_PR_NUMBER}/head:pr/${CIRCLE_PR_NUMBER}/head" | ||
FETCH_REFS="${FETCH_REFS} +refs/pull/${CIRCLE_PR_NUMBER}/merge:pr/${CIRCLE_PR_NUMBER}/merge" | ||
fi | ||
|
||
# Retrieve the refs. | ||
if [[ -n "${CIRCLE_PR_NUMBER}" ]] | ||
then | ||
git fetch -u origin ${FETCH_REFS} | ||
fi | ||
|
||
# Checkout the PR merge ref. | ||
if [[ -n "${CIRCLE_PR_NUMBER}" ]] | ||
then | ||
git checkout -qf "pr/${CIRCLE_PR_NUMBER}/merge" | ||
fi | ||
|
||
# Check for merge conflicts. | ||
if [[ -n "${CIRCLE_PR_NUMBER}" ]] | ||
then | ||
git branch --merged | grep "pr/${CIRCLE_PR_NUMBER}/head" > /dev/null | ||
fi |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
curl https://raw.githubusercontent.com/conda-forge/conda-forge-build-setup-feedstock/master/recipe/ff_ci_pr_build.py | \ | ||
python - -v --ci "circle" "${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}" "${CIRCLE_BUILD_NUM}" "${CIRCLE_PR_NUMBER}" |
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
#!/usr/bin/env bash | ||
|
||
# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here | ||
# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent | ||
# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also | ||
# benefit from the improvement. | ||
|
||
FEEDSTOCK_ROOT=$(cd "$(dirname "$0")/.."; pwd;) | ||
RECIPE_ROOT=$FEEDSTOCK_ROOT/recipe | ||
|
||
docker info | ||
|
||
config=$(cat <<CONDARC | ||
|
||
channels: | ||
- conda-forge | ||
- defaults | ||
|
||
conda-build: | ||
root-dir: /feedstock_root/build_artefacts | ||
|
||
show_channel_urls: true | ||
|
||
CONDARC | ||
) | ||
|
||
rm -f "$FEEDSTOCK_ROOT/build_artefacts/conda-forge-build-done" | ||
|
||
cat << EOF | docker run -i \ | ||
-v "${RECIPE_ROOT}":/recipe_root \ | ||
-v "${FEEDSTOCK_ROOT}":/feedstock_root \ | ||
-a stdin -a stdout -a stderr \ | ||
condaforge/linux-anvil \ | ||
bash || exit 1 | ||
|
||
export BINSTAR_TOKEN=${BINSTAR_TOKEN} | ||
export PYTHONUNBUFFERED=1 | ||
|
||
echo "$config" > ~/.condarc | ||
# A lock sometimes occurs with incomplete builds. The lock file is stored in build_artefacts. | ||
conda clean --lock | ||
|
||
conda install --yes --quiet conda-forge-build-setup | ||
source run_conda_forge_build_setup | ||
|
||
# Embarking on 2 case(s). | ||
set -x | ||
export CONDA_PY=35 | ||
set +x | ||
conda build /recipe_root --quiet || exit 1 | ||
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1 | ||
|
||
set -x | ||
export CONDA_PY=36 | ||
set +x | ||
conda build /recipe_root --quiet || exit 1 | ||
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1 | ||
touch /feedstock_root/build_artefacts/conda-forge-build-done | ||
EOF | ||
|
||
# double-check that the build got to the end | ||
# see https://github.com/conda-forge/conda-smithy/pull/337 | ||
# for a possible fix | ||
set -x | ||
test -f "$FEEDSTOCK_ROOT/build_artefacts/conda-forge-build-done" || exit 1 |
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,9 +1,19 @@ | ||
general: | ||
branches: | ||
ignore: | ||
- /.*/ | ||
checkout: | ||
post: | ||
- ./ci_support/fast_finish_ci_pr_build.sh | ||
- ./ci_support/checkout_merge_commit.sh | ||
|
||
machine: | ||
services: | ||
- docker | ||
|
||
dependencies: | ||
# Note, we used to use the naive caching of docker images, but found that it was quicker | ||
# just to pull each time. #rollondockercaching | ||
override: | ||
- docker pull condaforge/linux-anvil | ||
|
||
test: | ||
override: | ||
# The Circle-CI build should not be active, but if this is not true for some reason, do a fast finish. | ||
- exit 0 | ||
# Run, test and (if we have a BINSTAR_TOKEN) upload the distributions. | ||
- ./ci_support/run_docker_build.sh |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is everything so tightly pinned like this? Seems like this will cause issues.
Also the indentation appears to be incorrect w.r.t
run
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was just following whatever happened in https://github.com/QCoDeS/Qcodes/blob/v0.1.3/requirements.txt
I fixed the indentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those are normally used to create identical dev environments not specify versions for user installs. Please use this list, which is the same one
pip
would use.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also may want these extras. Though that is up to you as a user can always install them if they wish.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the comments!
I have updated the versions and packages, but the error is still the same.