Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

Commit d64175a

Browse files
committed
Updates
* handle rc branch * update docker-doc image build Closes #9
1 parent 59748df commit d64175a

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# TO EDIT
2-
TAG ?= v0.24.2
2+
TAG ?= v0.25.0rc0
33
GH_USERNAME ?= jorisvandenbossche
44

55
PANDAS_VERSION=$(TAG:v%=%) # like 0.24.2

docker-files/docs/Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
FROM continuumio/miniconda3:latest
22

3-
RUN apt-get update && apt-get install -y texlive-full \
3+
RUN apt-get update && apt-get install -y texlive-full xclip \
44
&& apt-get clean
55
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 \
77
&& . 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

scripts/build-docs.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ conda uninstall -y --force pandas ||:
1111
# python3 -m pip install --no-deps --no-index --find-links=/pandas/dist --only-binary=pandas pandas
1212
apt-get update && apt-get install -y build-essential
1313
cd /pandas
14-
python setup.py build_ext -i && pip install -e .
1514

1615
cd /pandas/doc
1716

scripts/push-tag.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@ def check_tag(tag):
1818

1919

2020
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':
2230
# off master
2331
base = 'master'
2432
else:

0 commit comments

Comments
 (0)