Skip to content

Commit cb59244

Browse files
authored
Merge pull request #14 from regro-cf-autotick-bot/0.6.1
pandas-gbq v0.6.1
2 parents 125ece3 + 653d048 commit cb59244

File tree

5 files changed

+32
-14
lines changed

5 files changed

+32
-14
lines changed

.ci_support/linux_.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
build_number_decrement:
2+
- '0'
3+
channel_sources:
4+
- conda-forge,defaults
5+
channel_targets:
6+
- conda-forge main
7+
docker_image:
8+
- condaforge/linux-anvil
19
pin_run_as_build:
210
python:
311
min_pin: x.x

.circleci/build_steps.sh

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,34 @@
77

88
set -xeuo pipefail
99
export PYTHONUNBUFFERED=1
10+
export FEEDSTOCK_ROOT=/home/conda/feedstock_root
11+
export RECIPE_ROOT=/home/conda/recipe_root
12+
export CI_SUPPORT=/home/conda/feedstock_root/.ci_support
13+
export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml"
1014

1115
cat >~/.condarc <<CONDARC
1216
13-
channels:
14-
- conda-forge
15-
- defaults
16-
1717
conda-build:
1818
root-dir: /home/conda/feedstock_root/build_artifacts
1919
20-
show_channel_urls: true
21-
2220
CONDARC
2321

22+
conda install --yes --quiet conda-forge::conda-forge-ci-setup=2 conda-build
23+
24+
# set up the condarc
25+
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
26+
2427
# A lock sometimes occurs with incomplete builds. The lock file is stored in build_artifacts.
2528
conda clean --lock
2629

27-
conda install --yes --quiet conda-forge-ci-setup=1 conda-build
2830
source run_conda_forge_build_setup
2931

30-
conda build /home/conda/recipe_root -m /home/conda/feedstock_root/.ci_support/${CONFIG}.yaml --quiet
31-
upload_or_check_non_existence /home/conda/recipe_root conda-forge --channel=main -m /home/conda/feedstock_root/.ci_support/${CONFIG}.yaml
32+
# make the build number clobber
33+
make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
34+
35+
conda build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
36+
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" --quiet
37+
38+
upload_package "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
3239

3340
touch "/home/conda/feedstock_root/build_artifacts/conda-forge-build-done-${CONFIG}"

.circleci/fast_finish_ci_pr_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

3-
curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/master/recipe/ff_ci_pr_build.py | \
3+
curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/branch2.0/recipe/conda_forge_ci_setup/ff_ci_pr_build.py | \
44
python - -v --ci "circle" "${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}" "${CIRCLE_BUILD_NUM}" "${CIRCLE_PR_NUMBER}"

.circleci/run_docker_build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
set -xeuo pipefail
99

1010
FEEDSTOCK_ROOT=$(cd "$(dirname "$0")/.."; pwd;)
11-
RECIPE_ROOT=$FEEDSTOCK_ROOT/recipe
11+
RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe"
1212

1313
docker info
1414

@@ -29,6 +29,9 @@ if [ -z "$CONFIG" ]; then
2929
exit 1
3030
fi
3131

32+
pip install shyaml
33+
DOCKER_IMAGE=$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil )
34+
3235
mkdir -p "$ARTIFACTS"
3336
DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}"
3437
rm -f "$DONE_CANARY"
@@ -39,7 +42,7 @@ docker run -it \
3942
-e CONFIG \
4043
-e BINSTAR_TOKEN \
4144
-e HOST_USER_ID \
42-
condaforge/linux-anvil \
45+
$DOCKER_IMAGE \
4346
bash \
4447
/home/conda/feedstock_root/.circleci/build_steps.sh
4548

recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{% set version = "0.6.0" %}
1+
{% set version = "0.6.1" %}
22
{% set name = "pandas-gbq" %}
3-
{% set sha256 = "87d447e2be7ea79fe77df5948942508081ac29d6eda34aad5482af4aa647cdd0" %}
3+
{% set sha256 = "6cd6535842352ce2ccffbf43761084e1000c562fc7896d99038504c61e69a8bb" %}
44

55
package:
66
name: {{ name|lower }}

0 commit comments

Comments
 (0)