Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fd6870

Browse files
committed
Attempt to fix version issues
1 parent 41cd025 commit 7fd6870

File tree

4 files changed

+16
-45
lines changed

4 files changed

+16
-45
lines changed

.circleci/config.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -423,18 +423,18 @@ jobs:
423423
cd packages/python/plotly
424424
pip install build
425425
python -m build --sdist --wheel -o dist
426-
cp -R dist ../../../output/dist
426+
cp -R dist ../../../output
427427
git status
428428
429-
- run:
430-
name: Conda Build
431-
command: |
432-
eval "$(conda shell.bash hook)"
433-
conda activate env
434-
cd packages/python/plotly
435-
conda build recipe/
436-
mv /opt/conda/envs/env/conda-bld/noarch/plotly*.tar.bz2 ../../../output
437-
git status
429+
# - run:
430+
# name: Conda Build
431+
# command: |
432+
# eval "$(conda shell.bash hook)"
433+
# conda activate env
434+
# cd packages/python/plotly
435+
# conda build recipe/
436+
# mv /opt/conda/envs/env/conda-bld/noarch/plotly*.tar.bz2 ../../../output
437+
# git status
438438

439439
- run:
440440
name: Build Widget javascript bundle
@@ -450,12 +450,6 @@ jobs:
450450
command: |
451451
tar czf output.tgz output
452452
453-
- run:
454-
name: Git Diff
455-
command: |
456-
git status
457-
git diff
458-
459453
- store_artifacts:
460454
path: output.tgz
461455

packages/python/plotly/plotly/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import sys
2929
from typing import TYPE_CHECKING
3030
from _plotly_utils.importers import relative_import
31+
from .version import __version__ # noqa: F401
3132

3233

3334
if sys.version_info < (3, 7) or TYPE_CHECKING:

packages/python/plotly/plotly/version.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/python/plotly/pyproject.toml

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -31,37 +31,14 @@ classifiers = [
3131
]
3232
requires-python = ">=3.8"
3333
license = {text = "MIT License"}
34-
dynamic = ["version", "dependencies"]
35-
36-
[tool.setuptools.dynamic]
37-
version = {attr = "plotly.__version__"}
34+
version = "5.3.13"
35+
dynamic = ["dependencies"]
3836

3937
# TODO: check that this works
4038
[tool.setuptools.packages.find]
41-
where = [
42-
"plotly",
43-
"plotly.plotly",
44-
"plotly.offline",
45-
"plotly.io",
46-
"plotly.matplotlylib",
47-
"plotly.matplotlylib.mplexporter",
48-
"plotly.matplotlylib.mplexporter.renderers",
49-
"plotly.figure_factory",
50-
"plotly.data",
51-
"plotly.colors",
52-
"plotly.express",
53-
"plotly.express.data",
54-
"plotly.express.colors",
55-
"plotly.express.trendline_functions",
56-
"plotly.graph_objects",
57-
"_plotly_utils",
58-
"_plotly_utils.colors",
59-
"_plotly_future_",
60-
"plotly.graph_objs",
61-
"plotly.validators"
62-
]
63-
include = ["plotly.*", "_plotly.*"]
64-
exclude = ["__pycache__"]
39+
where = ["."]
40+
include = ["plotly*", "_plotly*"]
41+
exclude = ["__pycache__", "tests"]
6542

6643
[tool.setuptools.package-data]
6744
plotly = [

0 commit comments

Comments
 (0)