From 3875de6a86ed72d0d6e424cc8ac8d009f4f1c6be Mon Sep 17 00:00:00 2001 From: Nemo <commits@captnemo.in> Date: Mon, 03 Feb 2025 13:05:14 +0530 Subject: [PATCH] switch to .python-version --- .gitignore | 4 +--- .python-version | 1 + .github/workflows/update.yaml | 5 ----- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 3e0e7e2..0cafc1c 100644 --- a/.gitignore +++ a/.gitignore @@ -1,3 +1,1 @@ -.venv/ -# Since we use pypy -.python-version+.venv/diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..8e51258 100644 --- /dev/null +++ a/.python-version @@ -1,0 +1,1 @@ +pypy3.10diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index c595310..4e86696 100644 --- a/.github/workflows/update.yaml +++ a/.github/workflows/update.yaml @@ -14,12 +14,7 @@ with: ref: ${{ github.head_ref }} submodules: true - # pypy is much faster at generating lots of JSON - # and canonicaljson also uses pypy-json instead - # of simplejson (https://github.com/matrix-org/python-canonicaljson/pull/25/files) - uses: actions/setup-python@v5 - with: - python-version: 'pypy3.10' - name: Update data run: | mkdir -p advisories -- rgit 0.1.5