Skip to content

Commit f68d997

Browse files
committed
Remove conda from CI and release
1 parent d1905cb commit f68d997

File tree

5 files changed

+5
-130
lines changed

5 files changed

+5
-130
lines changed

.circleci/config.yml

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -349,29 +349,19 @@ jobs:
349349

350350
full_build:
351351
docker:
352-
- image: continuumio/miniconda3:24.3.0-0
352+
- image: cimg/python:3.11-node
353353
environment:
354354
LANG: en_US.UTF-8
355355
resource_class: large
356356

357357
steps:
358358
- checkout
359359

360-
- run:
361-
name: Create conda environment
362-
command: |
363-
conda config --remove channels defaults
364-
conda config --add channels conda-forge
365-
conda create -n env --yes python=3.9 conda-build=3.28.4 conda-verify
366-
conda install -n env -c conda-forge jupyterlab nodejs=16
367-
conda init bash
368-
mkdir output
369-
370360
- run:
371361
name: initial NPM Build
372362
command: |
373-
eval "$(conda shell.bash hook)"
374-
conda activate env
363+
python -m venv venv
364+
. venv/bin/activate
375365
cd js
376366
npm ci
377367
npm run build
@@ -380,31 +370,12 @@ jobs:
380370
- run:
381371
name: PyPI Build
382372
command: |
383-
eval "$(conda shell.bash hook)"
384-
conda activate env
373+
. venv/bin/activate
385374
pip install build
386375
python -m build --sdist --wheel -o dist
387-
cp -R dist ../../../output
376+
cp -R dist output
388377
git status
389378
390-
- run:
391-
name: Conda Build
392-
command: |
393-
eval "$(conda shell.bash hook)"
394-
conda activate env
395-
conda build recipe/
396-
mv /opt/conda/envs/env/conda-bld/noarch/plotly*.tar.bz2 output/
397-
git status
398-
399-
- run:
400-
name: Build Widget javascript bundle
401-
command: |
402-
eval "$(conda shell.bash hook)"
403-
conda activate env
404-
cd js
405-
npm ci
406-
npm run build
407-
408379
- run:
409380
name: Zip output
410381
command: |

recipe/LICENSE.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

recipe/conda_build_config.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

recipe/meta.yaml

Lines changed: 0 additions & 50 deletions
This file was deleted.

release.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@ To locally install the PyPI dist, make sure you have an environment with Jupyter
5353
- `conda uninstall plotly` (just in case!)
5454
- `pip install path/to/output/dist/plotly-X.Y.X-py3-none-any.whl`
5555

56-
To locally install the Conda dist (generally do this in a different, clean environment from the one above!):
57-
58-
- `conda uninstall plotly`
59-
- `pip uninstall plotly` (just in case!)
60-
- `conda install path/to/output/plotly-X.Y.Z.tar.bz2`
61-
6256
You'll want to check, in both Lab and Notebook, **in a brand new notebook in each** so that there is no caching of previous results, that `go.Figure()` and `go.FigureWidget()` work without error.
6357

6458
If something is broken, you'll need to fix it and trigger the build again (see above section).
@@ -75,14 +69,6 @@ Publishing to PyPI:
7569
(plotly_dev) $ twine upload plotly-X.Y.Z*
7670
```
7771

78-
Publishing to `plotly` conda channel (make sure you have run `conda install anaconda-client` to get the `anaconda` command):
79-
80-
```
81-
(plotly_dev) $ cd path/to/output
82-
(plotly_dev) $ anaconda upload plotly-X.Y.Z.tar.bz2
83-
```
84-
85-
8672
### Merge the PR and make a Release
8773

8874
1. Merge the pull request you created above into `master`
@@ -129,12 +115,3 @@ PyPI RC (no special flags, just the `rc1` suffix):
129115

130116
The `--tag next` part ensures that users won't install this version unless
131117
they explicitly ask for the version or for the version with the `next` tag.
132-
133-
Conda RC:
134-
135-
```
136-
$ anaconda upload --label test plotly-*.tar.bz2
137-
```
138-
139-
The `--label test` part ensures that users won't install this version unless
140-
they explicitly ask for the version or for the version with the `next` tag.

0 commit comments

Comments
 (0)