Skip to content

Commit ff37cae

Browse files
committed
Release 0.10.4
1 parent b6e0593 commit ff37cae

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
4+
## 0.10.3 (2018-09-09)
5+
6+
- Add `html-py-ever` example
7+
- Added license file [#41](https://github.com/PyO3/setuptools-rust/pull/41)
8+
39
## 0.10.3 (2018-09-06)
410

511
- `path` in `RustExtension` now defaults to `Cargo.toml`

html-py-ever/test/run_all.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ def rust(filename: str) -> Tuple[int, float, float]:
2222
def python(filename: str, parser: str) -> Tuple[int, float, float]:
2323
start_load = perf_counter()
2424
with open(filename) as fp:
25-
text = fp.read()
26-
soup = BeautifulSoup(text, parser)
25+
soup = BeautifulSoup(fp, parser)
2726

2827
end_load = perf_counter()
2928
start_search = perf_counter()

html-py-ever/test/test_parsing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ def rust(filename: str) -> Document:
1313

1414
def python(filename: str) -> BeautifulSoup:
1515
with open(filename) as fp:
16-
text = fp.read()
17-
soup = BeautifulSoup(text, "html.parser")
16+
soup = BeautifulSoup(fp, "html.parser")
1817

1918
return soup
2019

html-py-ever/test/test_selector.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ def test_bench_selector_rust(benchmark, filename):
1515
@pytest.mark.parametrize("filename", list(glob("*.html")))
1616
def test_bench_selector_python(benchmark, filename):
1717
with open(filename) as fp:
18-
text = fp.read()
19-
soup = BeautifulSoup(text, "html.parser")
18+
soup = BeautifulSoup(fp, "html.parser")
2019
benchmark(soup.select, "a[href]")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from setuptools import setup
44

5-
version = "0.10.3"
5+
version = "0.10.4"
66

77
setup(
88
name="setuptools-rust",

0 commit comments

Comments
 (0)