Skip to content

Commit f5d9cdf

Browse files
authored
astroid: fix build and update maintainers (#12386)
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.
1 parent 173cae9 commit f5d9cdf

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

projects/astroid/Dockerfile

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,15 @@
1313
# limitations under the License.
1414
#
1515
##########################################################################
16+
1617
FROM gcr.io/oss-fuzz-base/base-builder-python
17-
RUN pip3 install --upgrade pip
18-
RUN git clone https://github.com/PyCQA/astroid astroid
19-
COPY *.sh *py $SRC/
20-
WORKDIR $SRC/astroid
18+
19+
RUN pip3 install --disable-pip-version-check --no-cache-dir pip==24.2
20+
21+
# Pin the astroid version to 3.2.4 until Python 3.9+ is supported on OSS-Fuzz:
22+
# https://github.com/google/oss-fuzz/pull/12027
23+
RUN git clone --depth=1 --branch=v3.2.4 https://github.com/pylint-dev/astroid
24+
25+
COPY *.py *.sh "$SRC/"
26+
27+
WORKDIR "$SRC/astroid"

projects/astroid/project.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
homepage: https://github.com/PyCQA/astroid
2-
main_repo: https://github.com/PyCQA/astroid
1+
homepage: https://github.com/pylint-dev/astroid
2+
main_repo: https://github.com/pylint-dev/astroid
33
language: python
4+
primary_contact: "[email protected]"
5+
auto_ccs:
6+
47
fuzzing_engines:
5-
- libfuzzer
8+
- libfuzzer
69
sanitizers:
7-
- address
10+
- address
811
vendor_ccs:
9-
12+

0 commit comments

Comments
 (0)