Skip to content

Commit 3b9e2d2

Browse files
authored
Update OSS-Fuzz docs to use uv instead of pyenv (#10274)
1 parent f98805e commit 3b9e2d2

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

Diff for: doc/development_guide/contributor_guide/oss_fuzz.rst

+6-9
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,19 @@ commands:
4747

4848
.. code:: bash
4949
50-
# Note: Atheris doesn't support Python 3.12+ yet:
51-
# https://github.com/google/atheris/issues/82
5250
mkdir fuzzing-repro
5351
cd fuzzing-repro
5452
55-
pyenv install --skip-existing 3.11
56-
pyenv shell 3.11
57-
58-
python -m venv .venv-fuzzing-repro
59-
source .venv-fuzzing-repro/bin/activate
53+
# Note: Atheris doesn't support Python 3.12+ yet:
54+
# https://github.com/google/atheris/issues/82
55+
uv venv --python 3.11
56+
source .venv/bin/activate
6057
6158
git clone https://github.com/pylint-dev/astroid.git
6259
cd astroid
6360
64-
pip install atheris
65-
pip install --editable .
61+
uv pip install atheris==2.3.0
62+
uv pip install --editable .
6663
6764
# Save the minimized testcase as `minimized.py` in the astroid directory
6865

0 commit comments

Comments
 (0)