Skip to content

Update OSS-Fuzz docs to use uv instead of pyenv #10274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions doc/development_guide/contributor_guide/oss_fuzz.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,19 @@ commands:

.. code:: bash

# Note: Atheris doesn't support Python 3.12+ yet:
# https://github.com/google/atheris/issues/82
mkdir fuzzing-repro
cd fuzzing-repro

pyenv install --skip-existing 3.11
pyenv shell 3.11

python -m venv .venv-fuzzing-repro
source .venv-fuzzing-repro/bin/activate
# Note: Atheris doesn't support Python 3.12+ yet:
# https://github.com/google/atheris/issues/82
uv venv --python 3.11
source .venv/bin/activate

git clone https://github.com/pylint-dev/astroid.git
cd astroid

pip install atheris
pip install --editable .
uv pip install atheris==2.3.0
uv pip install --editable .

# Save the minimized testcase as `minimized.py` in the astroid directory

Expand Down
Loading