Skip to content

Commit 989e974

Browse files
committed
remove references to plotly-geo and chart-studio as subdirectories of this repo
1 parent 7eb6dfd commit 989e974

File tree

3 files changed

+12
-134
lines changed

3 files changed

+12
-134
lines changed

.circleci/config.yml

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ commands:
5252
- run:
5353
name: Install plotly-geo
5454
command: |
55-
cd packages/python/plotly-geo
56-
. ../plotly/venv/bin/activate
57-
pip install -e .
55+
cd packages/python/plotly
56+
. venv/bin/activate
57+
pip install plotly-geo
5858
- run:
5959
name: Test core
6060
command: |
@@ -115,9 +115,9 @@ commands:
115115
- run:
116116
name: Install plotly-geo
117117
command: |
118-
cd packages/python/plotly-geo
119-
. ../plotly/venv/bin/activate
120-
pip install -e .
118+
cd packages/python/plotly
119+
. venv/bin/activate
120+
pip install plotly-geo
121121
- run:
122122
name: Install orca
123123
command: |
@@ -284,8 +284,9 @@ jobs:
284284
. venv/bin/activate
285285
pip install --upgrade pip wheel
286286
pip install -e ./packages/python/plotly
287-
pip install -e ./packages/python/plotly-geo
287+
pip install plotly-geo
288288
pip install -r ./packages/python/plotly/test_requirements/requirements_39_pandas_2_optional.txt
289+
289290
- run:
290291
name: Build html figures (Pandas 2)
291292
command: |
@@ -309,30 +310,6 @@ jobs:
309310
npx percy snapshot -c test/percy/snapshots.yml test/percy/
310311
rm test/percy/*.html
311312
312-
# Chart studio
313-
python_38_chart_studio:
314-
docker:
315-
- image: cimg/python:3.8
316-
resource_class: large
317-
318-
steps:
319-
- checkout
320-
- run:
321-
name: Install dependencies
322-
command: |
323-
cd packages/python/chart-studio
324-
python -m venv venv
325-
. venv/bin/activate
326-
pip install --upgrade pip wheel
327-
pip install -r ./test_requirements/requirements_38.txt
328-
- run:
329-
name: Tests
330-
command: |
331-
cd packages/python/chart-studio
332-
. venv/bin/activate
333-
pytest -x chart_studio/tests/
334-
no_output_timeout: 20m
335-
336313
plotlyjs_dev_build:
337314
docker:
338315
- image: cimg/python:3.8-node

contributing.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,6 @@ complete installation and avoid gdal-config errors.
152152
### Editable install of plotly packages
153153
```bash
154154
(plotly_dev) $ pip install -e packages/python/plotly/
155-
(plotly_dev) $ pip install -e packages/python/chart-studio/
156-
(plotly_dev) $ pip install -e packages/python/plotly-geo/
157155
```
158156

159157
**Note**: To test `go.FigureWidget` locally, you'll need to generate the javascript bundle as follows:

release.md

Lines changed: 4 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
# How to release plotly packages
33

44
There are 3 Python packages (`plotly`, `plotly-geo` and `chart-studio`) which need to be
5-
published to PyPI and conda. In addition, there are various changelogs, github releases and forum announcements to do :)
5+
published to PyPI and conda. The `plotly` package is located in this repository, while `plotly-geo` and `chart-studio` are located in their own separate repositories under those names.
6+
7+
In addition, there are various changelogs, github releases and forum announcements to do :)
8+
69

710
## Release process - `plotly` package and extensions
811

@@ -149,103 +152,3 @@ $ anaconda upload --label test plotly-*.tar.bz2
149152

150153
The `--label test` part ensures that users won't install this version unless
151154
they explicitly ask for the version or for the version with the `next` tag.
152-
153-
154-
## Release process - `plotly-geo` package
155-
156-
The `plotly-geo` package contains the shape file resources used by plotly.py.
157-
These files are relatively large and change infrequently so it is useful
158-
to release them in a separate package.
159-
160-
### Update version
161-
162-
Update the version of the `plotly-geo` package in
163-
`packages/python/plotly-geo/setup.py`.
164-
165-
This version is not intended to match the version of plotly.py.
166-
167-
### Update CHANGELOG
168-
169-
Add a new entry to the CHANGELOG at `packages/python/plotly-geo/CHANGELOG.md`
170-
and commit the changes.
171-
172-
### Tag Release
173-
174-
Create a new tag for the release
175-
176-
```bash
177-
(plotly_dev) $ git checkout master
178-
(plotly_dev) $ git stash
179-
(plotly_dev) $ git pull origin master
180-
(plotly_dev) $ git tag plotly-geo-vX.Y.Z
181-
(plotly_dev) $ git push origin plotly-geo-vX.Y.Z
182-
```
183-
184-
### Publishing to PYPI
185-
186-
Publish the final version to PyPI
187-
188-
```bash
189-
(plotly_dev) $ cd packages/python/plotly-geo
190-
(plotly_dev) $ python setup.py sdist bdist_wheel
191-
(plotly_dev) $ twine upload dist/plotly-geo-X.Y.Z.tar.gz
192-
(plotly_dev) $ twine upload dist/plotly_geo-X.Y.Z-py3-none-any.whl
193-
```
194-
195-
### Publish to plotly anaconda channel
196-
197-
From `packages/python/plotly-geo`, build the conda package
198-
```bash
199-
(plotly_dev) $ conda build recipe/
200-
```
201-
202-
Then upload to the plotly anaconda channel as described above
203-
204-
## Release process - `chart-studio` package
205-
206-
The `chart-studio` package contains the utilities for interacting with
207-
Chart Studio (both Cloud or On-Prem).
208-
209-
### Update version
210-
211-
Update the version of the `chart-studio` package in
212-
`packages/python/chart-studio/setup.py`.
213-
214-
This version is not intended to match the version of plotly.py.
215-
216-
### Update CHANGELOG
217-
218-
Add a new entry to the CHANGELOG at `packages/python/chart-studio/CHANGELOG.md`
219-
and commit the changes.
220-
221-
### Tag Release
222-
223-
Create a new tag for the release
224-
225-
```bash
226-
(plotly_dev) $ git checkout master
227-
(plotly_dev) $ git stash
228-
(plotly_dev) $ git pull origin master
229-
(plotly_dev) $ git tag chart-studio-vX.Y.Z
230-
(plotly_dev) $ git push origin chart-studio-vX.Y.Z
231-
```
232-
233-
### Publishing to PYPI
234-
235-
Publish the final version to PyPI
236-
237-
```bash
238-
(plotly_dev) $ cd packages/python/chart-studio
239-
(plotly_dev) $ python setup.py sdist bdist_wheel
240-
(plotly_dev) $ twine upload dist/chart-studio-X.Y.Z.tar.gz
241-
(plotly_dev) $ twine upload dist/chart_studio-X.Y.Z-py3-none-any.whl
242-
```
243-
244-
### Publish to plotly anaconda channel
245-
246-
From `packages/python/plotly-geo`, build the conda package
247-
```bash
248-
(plotly_dev) $ conda build recipe/
249-
```
250-
251-
Then upload to the plotly anaconda channel as described above.

0 commit comments

Comments
 (0)