Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
5b5f63f
Update release process for Windows hosts
simonjayhawkins Aug 21, 2020
68de0e7
wip - updates during 1.1.2 release
simonjayhawkins Sep 8, 2020
d5521ab
1.1.2 -> 1.1.3
simonjayhawkins Oct 5, 2020
3cac915
Merge remote-tracking branch 'upstream/master' into release-1.1.1
simonjayhawkins Oct 24, 2020
ac09b98
updates to windows.md
simonjayhawkins Oct 26, 2020
ccede2b
wip - add WSL 2 instructions
simonjayhawkins Oct 27, 2020
dfab0cf
wip - add WSL 2 instructions
simonjayhawkins Oct 28, 2020
e3cc626
wip - add WSL 2 instructions
simonjayhawkins Oct 30, 2020
6582d10
[wip] 1.1.5/1.2.0rc0 releases
simonjayhawkins Nov 25, 2020
2486d19
[wip] prep 1.2.0rc0 release
simonjayhawkins Nov 29, 2020
893dcd2
[wip] prep 1.2.0rc0 release
simonjayhawkins Dec 5, 2020
ab38edf
[wip] prep 1.2.0rc0 release
simonjayhawkins Dec 16, 2020
33d26bd
remove windows host instructions (not WSL)
simonjayhawkins Dec 18, 2020
8a8e5b1
[wip] prep 1.2.0 release
simonjayhawkins Dec 21, 2020
851f300
changes for 1.2.0 release
simonjayhawkins Jan 1, 2021
512ca6d
[wip] release 1.2.1
simonjayhawkins Jan 20, 2021
5cbdd73
update for 1.2.2
simonjayhawkins Feb 7, 2021
91a1926
update README.md
simonjayhawkins Feb 13, 2021
8c21c1e
release 1.2.3
simonjayhawkins Mar 2, 2021
e9e5f21
update TAG to v1.2.4
simonjayhawkins Apr 10, 2021
c8b68de
update for v1.3.0rc1
simonjayhawkins Jun 13, 2021
54d0118
updates for conda-forge PR
simonjayhawkins Jun 16, 2021
83c86df
update for 1.3.1
simonjayhawkins Jul 24, 2021
043d799
update for 1.3.3
simonjayhawkins Sep 22, 2021
5e0b063
update for 1.3.4
simonjayhawkins Oct 20, 2021
42f6d16
add conda package cache for doc container build
simonjayhawkins Nov 7, 2021
14f386a
fix doc build deleting sdist
simonjayhawkins Nov 26, 2021
8d3c6a2
v1.4.0rc0 prep
simonjayhawkins Jan 3, 2022
477807d
1.4.0rc release
simonjayhawkins Jan 10, 2022
d28823e
v1.4.0 prep
simonjayhawkins Jan 19, 2022
d2e88cc
update Makefile
simonjayhawkins Jan 22, 2022
fe83a5d
1.4.1 release
simonjayhawkins Apr 2, 2022
3c94d71
v1.4.2 release
simonjayhawkins Apr 6, 2022
1ff3688
v1.4.3 release prep
simonjayhawkins Jun 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add conda package cache for doc container build
  • Loading branch information
simonjayhawkins committed Nov 7, 2021
commit 42f6d16749d078c176b2132deba706a8dbf5ada6
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# TO EDIT
TAG ?= v1.3.4
TAG ?= v1.3.5
GH_USERNAME ?= simonjayhawkins

PANDAS_VERSION=$(TAG:v%=%)
Expand Down Expand Up @@ -45,11 +45,8 @@ tag:

docker-image:
docker build -t pandas-build .
# docker build -t pandas-build \
# --build-arg USER_ID=$(shell id -u) \
# --build-arg GROUP_ID=$(shell id -g) .
docker-doc:
docker build -t pandas-docs -f docker-files/docs/Dockerfile .
DOCKER_BUILDKIT=1 docker build --progress=plain -t pandas-docs -f docker-files/docs/Dockerfile .


# -----------------------------------------------------------------------------
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ make update-repos
make tag

# Build the doc and test images
make docker-image docker-doc
make docker-image
make docker-doc # seperate terminal - takes 10-20 mins to solve env

# Build the sdist
# Build the sdist (can do this in parallel with building docker-doc image above)
make sdist

# Final Pip and Conda tests. Do these in parallel.
Expand All @@ -41,6 +42,10 @@ make doc
./build-docs.sh
exit

# Visually check docs
python -m http.server --directory pandas/doc/build/html/
python -m http.server --directory pandas/doc/build/latex/

# Push the tag. No going back now.
make push-tag

Expand Down
8 changes: 1 addition & 7 deletions docker-files/docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ FROM continuumio/miniconda3:latest
RUN apt-get update && apt-get install -y texlive-full xclip \
&& apt-get clean

RUN apt-get update && apt-get install -y build-essential \
&& apt-get clean

COPY pandas /pandas

RUN conda env create --file=/pandas/environment.yml --name=pandas \
&& . activate pandas \
&& conda uninstall -y --force pandas \
|| true python setup.py build_ext -j 4
RUN --mount=type=cache,target=/opt/conda/pkgs conda env create --file=/pandas/environment.yml --name=pandas
10 changes: 3 additions & 7 deletions scripts/build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ set -e
source activate pandas
conda uninstall -y --force pandas ||:

# this should have been built by pip-test
# ugh that's 3.7, this is 3.6. boooooo
# actually, can't really do that, since we upload the
# dist folder to PyPI, and we don't want to upload this one...
# python3 -m pip install --no-deps --no-index --find-links=/pandas/dist --only-binary=pandas pandas
apt-get update && apt-get install -y build-essential
cd /pandas
python setup.py build_ext -i -j 4

python setup.py clean
python setup.py build_ext -j 4

cd /pandas/doc

Expand Down