Skip to content

Commit f8a812e

Browse files
committed
📝 Switch form safety to uv-secure
1 parent 4c45839 commit f8a812e

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

docs/productive/envs/uv/dependency-bot.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ Dependency bot
44
It is good practice to update dependencies regularly to avoid vulnerabilities,
55
limit incompatibilities between dependencies and avoid complex upgrades when
66
upgrading from a version that is too old. A variety of tools can help you stay
7-
up to date. :term:`uv` is supported by `Renovate
8-
<https://docs.renovatebot.com/>`_.
7+
up to date. :ref:`update-uv-lock` describes how you can use ``uv lock
8+
--upgrade`` update all dependencies and :samp:`uv lock --upgrade-package
9+
{PACKAGE}=={VERSION}` to update individual dependencies in a controlled manner.
10+
However, you can also use `Renovate <https://docs.renovatebot.com/>`_ to help
11+
you with this.
912

1013
Renovate uses the :ref:`uv_lock` file to detect that ``uv`` is being used to
1114
manage dependencies and suggests updates for project dependencies, optional

docs/productive/envs/uv/index.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ packages <Distribution Package>` and :term:`wheels <wheel>`.
4949
Declare, lock and automatically update dependencies
5050
---------------------------------------------------
5151

52-
Updating :ref:`update-uv-lock` describes how you can use ``uv lock --upgrade``
53-
to update all dependencies and :samp:`uv lock --upgrade-package
54-
{PACKAGE}=={VERSION}` to update individual dependencies in a controlled manner.
55-
We describe how you can regularly update the dependencies of your project
56-
automatically in :doc:`dependency-bot`. These measures significantly increase
57-
the security of your project.
52+
:ref:`update-uv-lock` describes how you can use ``uv lock --upgrade`` to update
53+
all dependencies and :samp:`uv lock --upgrade-package {PACKAGE}=={VERSION}` to
54+
update individual dependencies in a controlled manner. We describe how you can
55+
regularly update the dependencies of your project automatically in
56+
:doc:`dependency-bot`. These measures significantly increase the security of
57+
your project.
5858

5959
.. seealso::
6060
* :ref:`lock-dependencies`

docs/productive/security.rst

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ doing so, we will be guided by the `OpenSSF
1111
Scorecard <https://securityscorecards.dev/>`_. Alternatively, you can also
1212
follow :ref:`open_chain`.
1313

14+
.. _check-vulnerabilities:
15+
1416
Check vulnerabilities
1517
---------------------
1618

@@ -20,8 +22,8 @@ This check determines whether the project has open, unfixed vulnerabilities in
2022
its own code base or in its dependencies. An open vulnerability can be easily
2123
exploited and should be closed as soon as possible.
2224

23-
For such a check, you can use for example `safety
24-
<https://github.com/pyupio/safety>`_. Alternatively, you can use `osv
25+
For such a check, you can use for example `uv-secure
26+
<https://pypi.org/project/uv-secure/>`_. Alternatively, you can use `osv
2527
<https://pypi.org/project/osv/>`_ or `pip-audit
2628
<https://pypi.org/project/pip-audit/>`_, which uses the `Open Source
2729
Vulnerability Database <https://osv.dev>`_.
@@ -282,7 +284,8 @@ not just to a mutable version or version range.
282284
:ref:`spack_lock`, :doc:`envs/uv/index` in :ref:`uv_lock`. These files should
283285
therefore also be checked in with the source code.
284286

285-
This can reduce the following security risks for :doc:`python-basics:apps`:
287+
This can reduce the following security risks for
288+
:doc:`python-basics:packs/apps`:
286289

287290
* Testing and deployment are done with the same software, which reduces
288291
deployment risks, simplifies debugging and enables reproducibility.

0 commit comments

Comments
 (0)