Skip to content

Commit e5a0d22

Browse files
committed
Switch from pipenv to uv
* Remove pipenv * Add pre-commit-uv * Add CI/CD-Pipelines * Add dependency bot * Update security
1 parent 705f923 commit e5a0d22

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+691
-975
lines changed

docs/clean-prep/bulwark.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"## 1. Installation\n",
1919
"\n",
2020
"``` console\n",
21-
"$ pipenv install bulwark\n",
21+
"$ uv add bulwark\n",
2222
"Installing bulwark…\n",
2323
"Adding bulwark to Pipfile's [packages]…\n",
2424
"✔ Installation Succeeded\n",

docs/clean-prep/string-matching.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"Alternatively, you can install the two libraries with other package managers, for example\n",
3333
"\n",
3434
"``` bash\n",
35-
"$ pipenv install fuzzywuzzy[speedup]\n",
35+
"$ uv add fuzzywuzzy[speedup]\n",
3636
"```"
3737
]
3838
},

docs/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@
168168
),
169169
"sphinx": ("https://www.sphinx-doc.org/en/master", None),
170170
"nbsphinx": ("https://nbsphinx.readthedocs.io/en/0.4.2", None),
171-
"pipenv": ("https://pipenv.pypa.io/en/latest", None),
172171
"spack": ("https://spack-tutorial.readthedocs.io/en/latest", None),
173172
"ipyparallel": ("https://ipyparallel.readthedocs.io/en/latest", None),
174173
"bokeh": ("https://docs.bokeh.org/en/latest", None),

docs/data-processing/apis/fastapi/example.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Run the server with:
3636

3737
.. code-block:: console
3838
39-
$ pipenv run uvicorn main:app --reload
39+
$ uv run uvicorn main:app --reload
4040
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
4141
INFO: Started reloader process [89155] using statreload
4242
INFO: Started server process [89164]

docs/data-processing/apis/fastapi/install.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Requirements
1010

1111
.. code-block:: console
1212
13-
$ pipenv install fastapi
13+
$ uv add fastapi
1414
Adding fastapi to Pipfile's [packages]…
1515
✔ Installation Succeeded
1616
Locking [dev-packages] dependencies…
@@ -27,7 +27,7 @@ server, such as `uvicorn <http://www.uvicorn.org/>`_:
2727

2828
.. code-block:: console
2929
30-
$ pipenv install uvicorn
30+
$ uv add uvicorn
3131
Adding uvicorn to Pipfile's [packages]…
3232
✔ Installation Succeeded
3333
Locking [dev-packages] dependencies…
@@ -69,10 +69,10 @@ They can be installed, e.g. with:
6969

7070
.. code-block:: console
7171
72-
$ pipenv install fastapi[ujson]
72+
$ uv add fastapi[ujson]
7373
7474
Alternatively you can install all of these with:
7575

7676
.. code-block:: console
7777
78-
$ pipenv install fastapi[all]
78+
$ uv add fastapi[all]

docs/data-processing/apis/grpc/example.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ Generate the gRPC Code
4949

5050
.. code-block:: console
5151
52-
$ pipenv install grpcio grpcio-tools
53-
$ pipenv run python -m grpc_tools.protoc --python_out=. --grpc_python_out=. accounts.proto
52+
$ uv add grpcio grpcio-tools
53+
$ uv run python -m grpc_tools.protoc --python_out=. --grpc_python_out=. accounts.proto
5454
5555
This generates two files:
5656

@@ -88,11 +88,11 @@ Run client and server
8888

8989
.. code-block:: console
9090
91-
$ pipenv run python accounts_server.py
91+
$ uv run python accounts_server.py
9292
9393
#. Starting the client from another terminal:
9494

9595
.. code-block:: console
9696
97-
$ pipenv run python accounts_client.py
97+
$ uv run python accounts_client.py
9898
Account created: tom

docs/data-processing/apis/grpc/test.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ gRPC can be tested automatically with `pytest-grpc
1515

1616
.. code-block:: console
1717
18-
$ pipenv install pytest-grpc
18+
$ uv add pytest-grpc
1919
Installing pytest-grpc…
2020
Adding pytest-grpc to Pipfile's [packages]…
2121
✔ Installation Succeeded
@@ -48,13 +48,13 @@ gRPC can be tested automatically with `pytest-grpc
4848

4949
.. code-block:: console
5050
51-
$ pipenv run pytest --fixtures tests/
51+
$ uv run pytest --fixtures tests/
5252
5353
or directly against the Python code:
5454

5555
.. code-block:: console
5656
57-
$ pipenv run pytest --fixtures tests/ --grpc-fake-server
57+
$ uv run pytest --fixtures tests/ --grpc-fake-server
5858
============================= test session starts ==============================
5959
platform darwin -- Python 3.7.3, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
6060
rootdir: /Users/veit/cusy/trn/Python4DataScience/docs/data/grpc

docs/data-processing/httpx/install-example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"Alternatively, you can install httpx with other package managers, for example\n",
2424
"\n",
2525
"``` bash\n",
26-
"$ pipenv install httpx\n",
26+
"$ uv add httpx\n",
2727
"```"
2828
]
2929
},

docs/data-processing/intake/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Intake can be easily installed for your Jupyter kernel with:
1818

1919
.. code-block:: console
2020
21-
$ pipenv install intake
21+
$ uv add intake
2222
2323
Create a catalog with sample data
2424
---------------------------------
@@ -27,7 +27,7 @@ For the following examples we need some data sets that we create with:
2727

2828
.. code-block:: console
2929
30-
$ pipenv run intake example
30+
$ uv run intake example
3131
Creating example catalog...
3232
Writing us_states.yml
3333
Writing states_1.csv

docs/data-processing/postgresql/ipython-sql.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can easily install ipython-sql in your Jupyter kernel with:
1515

1616
.. code-block:: console
1717
18-
$ pipenv install ipython-sql
18+
$ uv add ipython-sql
1919
2020
First steps
2121
-----------

0 commit comments

Comments
 (0)