Skip to content

Commit 8d95fbc

Browse files
committed
📝 Switch from pipenv to uv
1 parent 67fee99 commit 8d95fbc

20 files changed

Lines changed: 43 additions & 51 deletions

File tree

docs/bokeh/directory-format-apps.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
"You can find a complete example at: https://github.com/bokeh/bokeh/tree/branch-3.3/examples/server/app/dash. After you have downloaded the `dash` folder, you can start the Bokeh server with\n",
5454
"\n",
5555
"``` bash\n",
56-
"$ pipenv run python -m bokeh serve --show dash/\n",
56+
"$ uv run python -m bokeh serve --show dash/\n",
5757
"\n",
58-
"$ pipenv run python -m bokeh serve --show examples/app/dash/\n",
58+
"$ uv run python -m bokeh serve --show examples/app/dash/\n",
5959
"2019-02-08 19:02:42,829 Starting Bokeh server version 1.0.4 (running on Tornado 5.1.1)\n",
6060
"2019-02-08 19:02:42,835 Bokeh app running at: http://localhost:5006/dash\n",
6161
"```\n",

docs/bokeh/embedding-export/flask.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ As an example, we embed bokeh plots in the `Flask
1010
1111
$ mkdir embed
1212
$ cd !$
13-
$ pipenv install flask bokeh pandas
13+
$ uv add flask bokeh pandas
1414
1515
#. Embedding bokeh plots in Flask:
1616

@@ -61,7 +61,7 @@ As an example, we embed bokeh plots in the `Flask
6161

6262
.. code-block:: sh
6363
64-
$ pipenv run bokeh sampledata
64+
$ uv run bokeh sampledata
6565
6666
#. We then create the following :file:`theme.yaml` file for the design of the
6767
``Figure`` and ``Grid``:
@@ -87,7 +87,6 @@ As an example, we embed bokeh plots in the `Flask
8787
from bokeh.embed import server_document
8888
from flask import render_template
8989
90-
9190
...
9291
9392
@@ -128,7 +127,6 @@ As an example, we embed bokeh plots in the `Flask
128127
from flask import Flask
129128
from tornado.ioloop import IOLoop
130129
131-
132130
...
133131
134132
@@ -171,14 +169,14 @@ As an example, we embed bokeh plots in the `Flask
171169
.. code-block:: sh
172170
173171
$ export FLASK_APP=flask_embed.py
174-
$ pipenv run flask run
172+
$ uv run flask run
175173
176174
or, if several bokeh workers are to be started:
177175

178176
.. code-block:: sh
179177
180178
$ export FLASK_APP=flask_gunicorn_embed.py
181-
$ pipenv run flask run
179+
$ uv run flask run
182180
183181
.. seealso::
184182

docs/bokeh/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ example
4545

4646
.. code-block:: console
4747
48-
$ pipenv install bokeh
48+
$ uv add bokeh
4949
5050
Optional extensions
5151
~~~~~~~~~~~~~~~~~~~
@@ -77,7 +77,7 @@ clone the Git repository and look at the examples/ directory to see the
7777
Most of these examples use sample data, which must also be provided separately.
7878
To download these files, simply enter the following:
7979

80-
$ pipenv run bokeh sampledata
80+
$ uv run bokeh sampledata
8181

8282
.. toctree::
8383
:titlesonly:

docs/bokeh/integration/datashader.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"The [datashader](https://datashader.org/) library is intended to extend Bokeh to allow visualisation of very large data sets by ensuring a faithful representation of the overall distribution rather than individual data points. datashader is installed with\n",
1212
"\n",
1313
"``` bash\n",
14-
"$ pipenv install datashader\n",
14+
"$ uv add datashader\n",
1515
"```"
1616
]
1717
},

docs/bokeh/integration/holoviews/geoviews.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"source": [
1616
"## Installation\n",
1717
"\n",
18-
"If [Cartopy](../../../matplotlib/cartopy/install.rst) is already installed, GeoViews can be installed with pipenv:\n",
18+
"If [Cartopy](../../../matplotlib/cartopy/install.rst) is already installed, GeoViews can be installed with uv:\n",
1919
"\n",
2020
"``` bash\n",
21-
"$ pipenv install geoviews\n",
21+
"$ uv add geoviews\n",
2222
"```"
2323
]
2424
},

docs/bokeh/integration/holoviews/hvplot/examples.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"Afterwards, additional packages should be installed for your kernel, for example with:\n",
4444
"\n",
4545
" ``` sh\n",
46-
" $ pipenv install intake intake-parquet s3fs python-snappy pyviz-comms\n",
46+
" $ uv add intake intake-parquet s3fs python-snappy pyviz-comms\n",
4747
" …\n",
4848
" ```"
4949
]

docs/bokeh/integration/holoviews/hvplot/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ hvPlot can be installed with
55

66
.. code-block:: console
77
8-
$ pipenv install hvplot
8+
$ uv add hvplot
99
Installing hvplot…
1010
Adding hvplot to Pipfile's [packages]…
1111
✔ Installation Succeeded

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,9 @@
138138

139139
intersphinx_mapping = {
140140
"jupyter-tutorial": ("https://jupyter-tutorial.readthedocs.io/en/latest/", None),
141+
"python-basics": ("https://python-basics-tutorial.readthedocs.io/en/latest/", None),
141142
"python4datascience": ("https://python4data.science/en/latest/", None),
142-
"cusy-design": ("https://www.cusy.design/de/latest/", None),
143+
"cusy-design": ("https://www.cusy.design/", None),
143144
"bokeh": ("https://docs.bokeh.org/en/latest", None),
144145
"pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
145146
}

docs/js/xarray-leaflet.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"You can install `xarray-leaflet` in your Jupyter kernel with:\n",
1919
"\n",
2020
"``` bash\n",
21-
"$ pipenv install xarray-leaflet\n",
21+
"$ uv add xarray-leaflet\n",
2222
"Installing xarray-leaflet…\n",
2323
"…\n",
2424
"``` \n",

docs/matplotlib/cartopy/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ Cartopy can then be installed for your kernel, for example with:
5151
.. code-block:: console
5252
5353
$ export PIP_NO_BINARY=:shapely:
54-
$ pipenv install cython numpy cartopy
54+
$ uv add cython numpy cartopy
5555
5656
For the Cartopy :doc:`examples`, you will also need the following two Python
5757
packages:
5858

5959
.. code-block:: console
6060
61-
$ pipenv install matplotlib scipy
61+
$ uv add matplotlib scipy
6262
6363
Optional requirements
6464
---------------------

0 commit comments

Comments
 (0)