This repository was archived by the owner on Jun 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ TAG ?= v0.25.0rc0
3
3
GH_USERNAME ?= TomAugspurger
4
4
5
5
PANDAS_VERSION=$(TAG:v% =%) # like 0.24.2
6
- PANDAS_BASE_VERSION=$(shell echo '0.24.2' | awk -F '.' '{OFS="."} { print $$1, $$2}') # like 0.24
6
+ PANDAS_BASE_VERSION=$(shell echo $( PANDAS_VERSION ) | awk -F '.' '{OFS="."} { print $$1, $$2}') # like 0.24
7
7
TARGZ=pandas-$(PANDAS_VERSION ) .tar.gz
8
8
9
9
# to ensure pushd and popd works
@@ -67,6 +67,7 @@ pandas/dist/$(TARGZ):
67
67
conda-test :
68
68
docker run -it --rm \
69
69
--name=pandas-conda-test \
70
+ --env PANDAS_VERSION=$(PANDAS_VERSION ) \
70
71
-v ${CURDIR} /pandas:/pandas \
71
72
-v ${CURDIR} /recipe:/recipe \
72
73
pandas-build \
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM continuumio/miniconda3:latest
3
3
RUN apt-get update && apt-get install -y texlive-full xclip \
4
4
&& apt-get clean
5
5
COPY pandas /pandas
6
- RUN conda env create --file=/pandas/environment.yaml --name=pandas \
6
+ RUN conda env create --file=/pandas/environment.yml --name=pandas \
7
7
&& . activate pandas \
8
8
&& conda uninstall -y --force pandas \
9
9
|| true python setup.py build_ext -j 4
Original file line number Diff line number Diff line change 1
- {% set version = "0.24.2" % }
1
+ {% set version = {{ environ.get("PANDAS_VERSION") }} }
2
2
3
3
package :
4
4
name : pandas
You can’t perform that action at this time.
0 commit comments