Skip to content

Commit

Permalink
astroid: fix build and update maintainers (#12386)
Browse files Browse the repository at this point in the history
I have received permission to update the maintainers list here:
pylint-dev/astroid#2511 (comment)

This commit also fixes the build by pinning astroid to the latest
version with Python 3.8 support. This will allow the corpus to grow
until Python 3.9+ is supported on OSS-Fuzz.
  • Loading branch information
correctmost authored Aug 21, 2024
1 parent 173cae9 commit f5d9cdf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
15 changes: 11 additions & 4 deletions projects/astroid/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@
# limitations under the License.
#
##########################################################################

FROM gcr.io/oss-fuzz-base/base-builder-python
RUN pip3 install --upgrade pip
RUN git clone https://github.com/PyCQA/astroid astroid
COPY *.sh *py $SRC/
WORKDIR $SRC/astroid

RUN pip3 install --disable-pip-version-check --no-cache-dir pip==24.2

# Pin the astroid version to 3.2.4 until Python 3.9+ is supported on OSS-Fuzz:
# https://github.com/google/oss-fuzz/pull/12027
RUN git clone --depth=1 --branch=v3.2.4 https://github.com/pylint-dev/astroid

COPY *.py *.sh "$SRC/"

WORKDIR "$SRC/astroid"
13 changes: 8 additions & 5 deletions projects/astroid/project.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
homepage: https://github.com/PyCQA/astroid
main_repo: https://github.com/PyCQA/astroid
homepage: https://github.com/pylint-dev/astroid
main_repo: https://github.com/pylint-dev/astroid
language: python
primary_contact: "[email protected]"
auto_ccs:
- "[email protected]"
fuzzing_engines:
- libfuzzer
- libfuzzer
sanitizers:
- address
- address
vendor_ccs:
- [email protected]
- "[email protected]"

0 comments on commit f5d9cdf

Please sign in to comment.