This repository was archived by the owner on Jun 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
1
# TO EDIT
2
- TAG ?= v0.24.2
2
+ TAG ?= v0.25.0rc0
3
3
GH_USERNAME ?= jorisvandenbossche
4
4
5
5
PANDAS_VERSION=$(TAG:v% =%) # like 0.24.2
Original file line number Diff line number Diff line change 1
1
FROM continuumio/miniconda3:latest
2
2
3
- RUN apt-get update && apt-get install -y texlive-full \
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/ci/deps/travis-36-doc .yaml --name=pandas \
6
+ RUN conda env create --file=/pandas/environment .yaml --name=pandas \
7
7
&& . activate pandas \
8
- && conda uninstall -y --force pandas ||:
9
- # TODO: combine with tex install when you rebuild
10
- RUN apt-get install -y xclip \
11
- && apt-get clean
8
+ && conda uninstall -y --force pandas \
9
+ || true python setup.py build_ext -j 4
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ conda uninstall -y --force pandas ||:
11
11
# python3 -m pip install --no-deps --no-index --find-links=/pandas/dist --only-binary=pandas pandas
12
12
apt-get update && apt-get install -y build-essential
13
13
cd /pandas
14
- python setup.py build_ext -i && pip install -e .
15
14
16
15
cd /pandas/doc
17
16
Original file line number Diff line number Diff line change @@ -18,7 +18,15 @@ def check_tag(tag):
18
18
19
19
20
20
def get_branch (tag ):
21
- if tag [- 1 ] == '0' :
21
+ """
22
+ >>> get_branch("v0.24.0rc0")
23
+ 'master'
24
+ >>> get_branch("v0.24.0")
25
+ 'master'
26
+ >>> get_branch("v0.24.1")
27
+ """
28
+ ver = version .parse (tag .lstrip ('v' ))
29
+ if ver .base_version [- 1 ] == '0' :
22
30
# off master
23
31
base = 'master'
24
32
else :
You can’t perform that action at this time.
0 commit comments