Skip to content

Commit 2d6e5d1

Browse files
committed
Merge beta release 1.3.0b1 into master
2 parents a516e5b + a246082 commit 2d6e5d1

File tree

1,236 files changed

+3911
-348033
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,236 files changed

+3911
-348033
lines changed

.cvsignore

Lines changed: 0 additions & 2 deletions
This file was deleted.
File renamed without changes.
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
name: basemap-data-hires
2+
3+
env:
4+
PKGDIR: "packages/basemap_data_hires"
5+
6+
on:
7+
push:
8+
workflow_dispatch:
9+
10+
jobs:
11+
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python_version:
17+
[
18+
"2.7",
19+
]
20+
max-parallel: 1
21+
container: "tinybases/python:${{ matrix.python_version }}-debian-4"
22+
steps:
23+
-
24+
name: Checkout
25+
uses: actions/checkout@v1
26+
-
27+
name: Print environment
28+
run: |
29+
set -e
30+
. /etc/profile
31+
python -V
32+
-
33+
name: Build wheel
34+
run: |
35+
set -e
36+
. /etc/profile
37+
cd ${{ env.PKGDIR }}
38+
python setup.py sdist bdist_wheel --universal
39+
-
40+
name: Upload artifacts
41+
uses: actions/upload-artifact@v1
42+
with:
43+
name: artifacts-build
44+
path: ${{ env.PKGDIR }}/dist
45+
46+
test:
47+
needs: build
48+
runs-on: ubuntu-latest
49+
strategy:
50+
matrix:
51+
python_version:
52+
[
53+
"2.6",
54+
"2.7",
55+
"3.2",
56+
"3.3",
57+
"3.4",
58+
"3.5",
59+
"3.6",
60+
"3.7",
61+
"3.8",
62+
"3.9",
63+
]
64+
max-parallel: 5
65+
container: "tinybases/python:${{ matrix.python_version }}-debian-5"
66+
steps:
67+
-
68+
name: Checkout
69+
uses: actions/checkout@v1
70+
-
71+
name: Download artifacts
72+
uses: actions/download-artifact@v1
73+
with:
74+
name: artifacts-build
75+
path: ${{ env.PKGDIR }}/dist
76+
-
77+
name: Print environment
78+
run: |
79+
set -e
80+
. /etc/profile
81+
python -V
82+
-
83+
name: Install package
84+
run: |
85+
set -e
86+
. /etc/profile
87+
pip install ${{ env.PKGDIR }}/dist/*.whl
88+
-
89+
name: Test package
90+
run: |
91+
set -e
92+
. /etc/profile
93+
python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
94+
95+
upload:
96+
if: startsWith(github.event.ref, 'refs/tags/v')
97+
needs: test
98+
runs-on: ubuntu-latest
99+
strategy:
100+
matrix:
101+
python_version:
102+
[
103+
"2.7",
104+
]
105+
max-parallel: 1
106+
container: "tinybases/python:${{ matrix.python_version }}-debian-5"
107+
environment: PyPI
108+
steps:
109+
-
110+
name: Checkout
111+
uses: actions/checkout@v1
112+
-
113+
name: Download artifacts
114+
uses: actions/download-artifact@v1
115+
with:
116+
name: artifacts-build
117+
path: ${{ env.PKGDIR }}/dist
118+
-
119+
name: Print environment
120+
run: |
121+
set -e
122+
. /etc/profile
123+
python -V
124+
-
125+
name: Install requirements
126+
run: |
127+
set -e
128+
. /etc/profile
129+
pip install --prefer-binary twine
130+
-
131+
name: Upload distributables
132+
env:
133+
TWINE_USERNAME: __token__
134+
TWINE_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
135+
TWINE_REPOSITORY_URL: "${{ secrets.PYPI_REPOSITORY_URL }}"
136+
run: |
137+
set -e
138+
. /etc/profile
139+
python -m twine check ${{ env.PKGDIR }}/dist/*
140+
python -m twine upload --skip-existing ${{ env.PKGDIR }}/dist/*

.github/workflows/basemap-data.yml

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
name: basemap-data
2+
3+
env:
4+
PKGDIR: "packages/basemap_data"
5+
6+
on:
7+
push:
8+
workflow_dispatch:
9+
10+
jobs:
11+
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python_version:
17+
[
18+
"2.7",
19+
]
20+
max-parallel: 1
21+
container: "tinybases/python:${{ matrix.python_version }}-debian-4"
22+
steps:
23+
-
24+
name: Checkout
25+
uses: actions/checkout@v1
26+
-
27+
name: Print environment
28+
run: |
29+
set -e
30+
. /etc/profile
31+
python -V
32+
-
33+
name: Build wheel
34+
run: |
35+
set -e
36+
. /etc/profile
37+
cd ${{ env.PKGDIR }}
38+
python setup.py sdist bdist_wheel --universal
39+
-
40+
name: Upload artifacts
41+
uses: actions/upload-artifact@v1
42+
with:
43+
name: artifacts-build
44+
path: ${{ env.PKGDIR }}/dist
45+
46+
test:
47+
needs: build
48+
runs-on: ubuntu-latest
49+
strategy:
50+
matrix:
51+
python_version:
52+
[
53+
"2.6",
54+
"2.7",
55+
"3.2",
56+
"3.3",
57+
"3.4",
58+
"3.5",
59+
"3.6",
60+
"3.7",
61+
"3.8",
62+
"3.9",
63+
]
64+
max-parallel: 5
65+
container: "tinybases/python:${{ matrix.python_version }}-debian-5"
66+
steps:
67+
-
68+
name: Checkout
69+
uses: actions/checkout@v1
70+
-
71+
name: Download artifacts
72+
uses: actions/download-artifact@v1
73+
with:
74+
name: artifacts-build
75+
path: ${{ env.PKGDIR }}/dist
76+
-
77+
name: Print environment
78+
run: |
79+
set -e
80+
. /etc/profile
81+
python -V
82+
-
83+
name: Install package
84+
run: |
85+
set -e
86+
. /etc/profile
87+
pip install ${{ env.PKGDIR }}/dist/*.whl
88+
-
89+
name: Test package
90+
run: |
91+
set -e
92+
. /etc/profile
93+
python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
94+
95+
upload:
96+
if: startsWith(github.event.ref, 'refs/tags/v')
97+
needs: test
98+
runs-on: ubuntu-latest
99+
strategy:
100+
matrix:
101+
python_version:
102+
[
103+
"2.7",
104+
]
105+
max-parallel: 1
106+
container: "tinybases/python:${{ matrix.python_version }}-debian-5"
107+
environment: PyPI
108+
steps:
109+
-
110+
name: Checkout
111+
uses: actions/checkout@v1
112+
-
113+
name: Download artifacts
114+
uses: actions/download-artifact@v1
115+
with:
116+
name: artifacts-build
117+
path: ${{ env.PKGDIR }}/dist
118+
-
119+
name: Print environment
120+
run: |
121+
set -e
122+
. /etc/profile
123+
python -V
124+
-
125+
name: Install requirements
126+
run: |
127+
set -e
128+
. /etc/profile
129+
pip install --prefer-binary twine
130+
-
131+
name: Upload distributables
132+
env:
133+
TWINE_USERNAME: __token__
134+
TWINE_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
135+
TWINE_REPOSITORY_URL: "${{ secrets.PYPI_REPOSITORY_URL }}"
136+
run: |
137+
set -e
138+
. /etc/profile
139+
python -m twine check ${{ env.PKGDIR }}/dist/*
140+
python -m twine upload --skip-existing ${{ env.PKGDIR }}/dist/*

0 commit comments

Comments
 (0)