Skip to content

Commit a43d612

Browse files
authored
drop 3.6 and add 3.10/3.11 to python version matrix (#394)
* drop 3.6 and add 3.10/3.11 to python version matrix * use strings for version numbers * update tox.ini and pytest* versions * put back verbose flag * use flake8 github repo * try alternate CLA assistant
1 parent ce7258d commit a43d612

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python: [3.6, 3.7, 3.8, 3.9]
17+
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1818

1919
steps:
2020
- uses: actions/checkout@v2

.github/workflows/cla.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
- name: "CLA Assistant"
1313
if: (github.event.comment.body == 'recheckcla' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
1414
# Alpha Release
15-
uses: cla-assistant/cla-assistant@v2.13.0
15+
uses: contributor-assistant/github-action@v2.2.0
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
# the below token should have repo scope and must be manually added by you in the repository's secret
1919
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
2020
with:
2121
path-to-signatures: '.cla_signatures.json'
22-
path-to-cla-document: 'https://code42.github.io/code42-cla/Code42_Individual_Contributor_License_Agreement'
22+
path-to-document: 'https://code42.github.io/code42-cla/Code42_Individual_Contributor_License_Agreement'
2323
# branch should not be protected
2424
branch: 'main'
25-
allowlist: alang13,unparalleled-js,kiran-chaudhary,timabrmsn,ceciliastevens,DiscoRiver,annie-payseur,amoravec,patelsagar192,tora-kozic
25+
allowlist: timabrmsn,ceciliastevens,annie-payseur,amoravec,tora-kozic
2626

2727
#below are the optional inputs - If the optional inputs are not given, then default values will be taken
2828
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python: [3.6, 3.7, 3.8]
14+
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1515

1616
steps:
1717
- uses: actions/checkout@v2

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
rev: 22.3.0
1414
hooks:
1515
- id: black
16-
- repo: https://gitlab.com/pycqa/flake8
16+
- repo: https://github.com/pycqa/flake8
1717
rev: 3.8.3
1818
hooks:
1919
- id: flake8

tox.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[tox]
22
envlist =
3-
py{39,38,37,36}
3+
py{311,310,39,38,37}
44
docs
55
style
66
skip_missing_interpreters = true
77

88
[testenv]
99
deps =
10-
pytest == 4.6.11
11-
pytest-mock == 2.0.0
12-
pytest-cov == 2.10.0
10+
pytest == 7.2.0
11+
pytest-mock == 3.10.0
12+
pytest-cov == 4.0.0
1313
pandas >= 1.1.3
1414
pexpect == 4.8.0
1515

@@ -41,9 +41,9 @@ commands = pre-commit run --all-files --show-diff-on-failure
4141

4242
[testenv:nightly]
4343
deps =
44-
pytest == 4.6.11
45-
pytest-mock == 2.0.0
46-
pytest-cov == 2.10.0
44+
pytest == 7.2.0
45+
pytest-mock == 3.10.0
46+
pytest-cov == 4.0.0
4747
git+https://github.com/code42/py42.git@main#egg=py42
4848

4949
[testenv:integration]

0 commit comments

Comments
 (0)