Skip to content

Commit f81f1a1

Browse files
author
Gal Ben David
committed
Update dependencies. Added Python3.10 support
1 parent 4de4266 commit f81f1a1

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
python-version: [3.7, 3.8, 3.9]
27+
python-version: ['3.7', '3.8', '3.9', '3.10']
2828
os: [ubuntu-latest , macos-latest, windows-latest]
2929
steps:
3030
- name: Checkout
@@ -33,14 +33,14 @@ jobs:
3333
uses: actions/setup-python@v2
3434
with:
3535
python-version: ${{ matrix.python-version }}
36+
- name: Run image
37+
uses: abatilo/[email protected]
3638
- name: Install Rust
3739
uses: actions-rs/toolchain@v1
3840
with:
3941
profile: minimal
4042
toolchain: stable
4143
override: true
42-
- name: Install Poetry
43-
uses: abatilo/[email protected]
4444
- name: Install dependencies
4545
run: poetry install
4646
- name: Build Python package

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: [3.7, 3.8, 3.9]
11+
python-version: ['3.7', '3.8', '3.9', '3.10']
1212
os: [ubuntu-latest, macos-latest, windows-latest]
1313
steps:
1414
- name: Checkout

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "pyrepscan"
3-
version = "0.9.6"
3+
version = "0.10.0"
44
authors = ["Gal Ben David <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
description = "A Git Repository Secrets Scanner written in Rust"
77
readme = "README.md"
88
repository = "https://github.com/intsights/pyrepscan"
@@ -17,16 +17,16 @@ keywords = [
1717
]
1818

1919
[package.metadata.maturin]
20-
requires-python = ">=3.6"
20+
requires-python = ">=3.7"
2121
classifier = [
2222
"License :: OSI Approved :: MIT License",
2323
"Operating System :: MacOS",
2424
"Operating System :: Microsoft",
2525
"Operating System :: POSIX :: Linux",
26-
"Programming Language :: Python :: 3.6",
2726
"Programming Language :: Python :: 3.7",
2827
"Programming Language :: Python :: 3.8",
2928
"Programming Language :: Python :: 3.9",
29+
"Programming Language :: Python :: 3.10",
3030
"Programming Language :: Rust",
3131
]
3232

@@ -38,7 +38,7 @@ crate-type = ["cdylib"]
3838
regex = "1"
3939
chrono = "0.4"
4040
num_cpus = "1"
41-
parking_lot = "0.11"
41+
parking_lot = "0.12"
4242
crossbeam = "0.8"
4343
crossbeam-utils = "0.8"
4444

@@ -51,7 +51,7 @@ version = "0.13"
5151
features = ["vendored-openssl"]
5252

5353
[dependencies.pyo3]
54-
version = "0.14.5"
54+
version = "0.15.1"
5555
features = ["extension-module"]
5656

5757
[profile.release]

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ sdist-include = [
99
"pyrepscan/*.py",
1010
"pyrepscan/*.pyi"
1111
]
12-
strip = true
1312

1413
[tool.poetry]
1514
name = "pyrepscan"
16-
version = "0.9.6"
15+
version = "0.10.0"
1716
authors = ["Gal Ben David <[email protected]>"]
1817
description = "A Git Repository Secrets Scanner written in Rust"
1918
readme = "README.md"
@@ -32,15 +31,15 @@ classifiers = [
3231
"Operating System :: MacOS",
3332
"Operating System :: Microsoft",
3433
"Operating System :: POSIX :: Linux",
35-
"Programming Language :: Python :: 3.6",
3634
"Programming Language :: Python :: 3.7",
3735
"Programming Language :: Python :: 3.8",
3836
"Programming Language :: Python :: 3.9",
37+
"Programming Language :: Python :: 3.10",
3938
"Programming Language :: Rust",
4039
]
4140

4241
[tool.poetry.dependencies]
43-
python = "^3.6"
42+
python = "^3.7"
4443

4544
[tool.poetry.dev-dependencies]
4645
pytest = "*"

0 commit comments

Comments
 (0)