Skip to content

Commit 626b0e9

Browse files
committed
adapt
1 parent 571749b commit 626b0e9

7 files changed

Lines changed: 5 additions & 213 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
- run: python -mpip install pytest pyyaml
129129
- run: python -mpip install ./ua-parser-builtins
130130
# install rs accelerator if available, ignore if not
131-
- run: python -mpip install ua-parser-rs || true
131+
- run: python -mpip install ./ua-parser-rs || true
132132
# re2 is basically impossible to install from source so don't
133133
# bother, and suppress installation failure so the test does
134134
# not fail (re2 tests will just be skipped for versions /

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ wheel_build_env = .pkg
1616
deps =
1717
pytest
1818
pyyaml
19-
ua-parser-rs
19+
./ua-parser-rs
2020
./ua-parser-builtins
2121
commands =
2222
pytest -Werror --doctest-glob="*.rst" {posargs}
@@ -27,7 +27,7 @@ deps =
2727
pytest
2828
pyyaml
2929
google-re2
30-
ua-parser-rs
30+
./ua-parser-rs
3131
./ua-parser-builtins
3232

3333
[testenv:check]
@@ -49,6 +49,7 @@ package = skip
4949
deps =
5050
mypy
5151
types-PyYaml
52+
./ua-parser-rs
5253
./ua-parser-builtins
5354
commands = mypy {posargs}
5455

ua-parser-rs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ crate-type = ["cdylib"]
1515

1616
[dependencies]
1717
pyo3 = { version = "0.27", features = ["extension-module", "abi3", "abi3-py310"] }
18-
ua-parser = { version = "0.2.1", path = "../ua-parser" }
18+
ua-parser = "0.2.2"

ua-parser-rs/tests/test_device.py

Lines changed: 0 additions & 53 deletions
This file was deleted.

ua-parser-rs/tests/test_os.py

Lines changed: 0 additions & 63 deletions
This file was deleted.

ua-parser-rs/tests/test_ua.py

Lines changed: 0 additions & 64 deletions
This file was deleted.

ua-parser-rs/tox.ini

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)