Skip to content

Commit abd8c1f

Browse files
emilyklrl-utility-man
authored andcommitted
remove references to plotly-geo and chart-studio as subdirectories of this repo
1 parent 4837e26 commit abd8c1f

File tree

3 files changed

+12
-134
lines changed

3 files changed

+12
-134
lines changed

Diff for: .circleci/config.yml

+8-31
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

Diff for: contributing.md

-2
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:

Diff for: release.md

+4-101
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

@@ -143,103 +146,3 @@ $ anaconda upload --label test plotly-*.tar.bz2
143146

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

0 commit comments

Comments
 (0)