-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gal Ben David
committed
Jun 29, 2021
1 parent
9ca02e2
commit 3277a38
Showing
8 changed files
with
154 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
name: Build | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
if: github.event_name == 'push' && !startsWith(github.event.ref, 'refs/tags') | ||
|
@@ -25,7 +24,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
python-version: [3.7, 3.8, 3.9] | ||
os: [ubuntu-latest , macos-latest, windows-latest] | ||
steps: | ||
- name: Checkout | ||
|
@@ -36,14 +35,15 @@ jobs: | |
python-version: ${{ matrix.python-version }} | ||
- name: Run image | ||
uses: abatilo/[email protected] | ||
- name: Install latest rust | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- name: Install dependencies | ||
run: poetry install | ||
- name: Build Python package | ||
run: poetry run maturin develop | ||
- name: Test | ||
run: poetry run pytest tests | ||
run: poetry run pytest -Werror tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
[package] | ||
name = "fastzy" | ||
version = "0.3.1" | ||
version = "0.3.2" | ||
authors = ["Gal Ben David <[email protected]>"] | ||
edition = "2018" | ||
description = "Python library for fast fuzzy search over a big file written in Rust" | ||
readme = "README.md" | ||
repository = "https://github.com/intsights/fastzy" | ||
homepage = "https://github.com/intsights/fastzy" | ||
license = "MIT" | ||
keywords = ["fuzzy", "levenshtein", "rust"] | ||
keywords = [ | ||
"fuzzy", | ||
"levenshtein", | ||
"rust", | ||
] | ||
|
||
[package.metadata.maturin] | ||
requires-python = ">=3.6" | ||
requires-python = ">=3.7" | ||
classifier = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: MacOS", | ||
"Operating System :: Microsoft", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
|
@@ -33,7 +36,7 @@ parking_lot = "0.11" | |
rayon = "1.5" | ||
|
||
[dependencies.pyo3] | ||
version = "0.13.1" | ||
version = "0.13.2" | ||
features = ["extension-module"] | ||
|
||
[profile.release] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ strip = true | |
|
||
[tool.poetry] | ||
name = "fastzy" | ||
version = "0.3.1" | ||
version = "0.3.2" | ||
authors = ["Gal Ben David <[email protected]>"] | ||
description = "Python library for fast fuzzy search over a big file written in Rust" | ||
readme = "README.md" | ||
|
@@ -31,15 +31,14 @@ classifiers = [ | |
"Operating System :: MacOS", | ||
"Operating System :: Microsoft", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Rust", | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
python = "^3.7" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "*" | ||
|
Oops, something went wrong.