Skip to content

Commit

Permalink
Merge pull request #878 from OWASP/update-python2
Browse files Browse the repository at this point in the history
Downgrade python
  • Loading branch information
rewtd authored Nov 5, 2024
2 parents 974e541 + 9281a63 commit 5e3d94a
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 44 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- name: Get Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.13'
python-version: '3.11'
cache: 'pipenv' # caching pip dependencies
- name: Install dependencies
run: |
Expand All @@ -46,7 +46,7 @@
- name: Test & publish code coverage
uses: paambaati/codeclimate-action@f429536ee076d758a24705203199548125a28ca7 # v9.0.0
env:
CC_TEST_REPORTER_ID: 7482a81acb1b6de49fa6fd2769a014bb9ae8bee408161c23d400b2ac9e95b7cf
CC_TEST_REPORTER_ID: 7482a81acb1b6de49fa6fd2769a014bb9ae8bee408161c23d400b2ac9e95b7cf
- name: Generate new output files
run: |
#
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "tagged-release"

on:
push:
tags:
Expand All @@ -25,7 +25,7 @@
- name: Get Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.13'
python-version: '3.11'
cache: 'pipenv' # caching pip dependencies
- name: Install dependencies
run: |
Expand All @@ -42,7 +42,7 @@
- name: Check test coverage - generate xml
run: pipenv run coverage xml
- name: Check test coverage - Report
run: pipenv run coverage report --fail-under 85 scripts/convert*
run: pipenv run coverage report --fail-under 85 scripts/convert*
- name: Generate new output file
run: |
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests-generate-output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Get Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.13'
python-version: '3.11'
cache: 'pipenv' # caching pip dependencies
- name: Install dependencies
run: |
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Get Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.13'
python-version: '3.11'
cache: 'pipenv' # caching pip dependencies
- name: Install dependencies
run: |
Expand All @@ -44,5 +44,3 @@ jobs:
run: pipenv run flake8 --max-line-length=120 --max-complexity=10 --ignore=E203,W503
- name: Check formatting of files for correct spelling and namespace names
run: pipenv run mypy --namespace-packages --strict ./scripts/


2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ pathvalidate = "==3.2.1"
security = "==1.3.1"

[requires]
python_version = "3.13"
python_version = "3.11"
69 changes: 35 additions & 34 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5e3d94a

Please sign in to comment.