Skip to content

Commit dab7908

Browse files
committed
chore(python): Release 0.8.4
Signed-off-by: Dmitry Dygalo <[email protected]>
1 parent b114027 commit dab7908

File tree

5 files changed

+56
-69
lines changed

5 files changed

+56
-69
lines changed

.github/workflows/python-release.yml

-10
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,11 @@ jobs:
1818
ARCH: "x86_64"
1919
CIBW_BUILD: "*-manylinux*"
2020
RUST_TOOLCHAIN: "x86_64-unknown-linux-gnu"
21-
- NAME: "Linux aarch64 manylinux"
22-
OS: "ubuntu-20.04"
23-
ARCH: "aarch64"
24-
CIBW_BUILD: "*-manylinux*"
25-
RUST_TOOLCHAIN: "aarch64-unknown-linux-gnu"
2621
- NAME: "Linux x86_64 musllinux"
2722
OS: "ubuntu-20.04"
2823
ARCH: "x86_64"
2924
CIBW_BUILD: "*-musllinux*"
3025
RUST_TOOLCHAIN: "x86_64-unknown-linux-musl"
31-
- NAME: "Linux aarch64 musllinux"
32-
OS: "ubuntu-20.04"
33-
ARCH: "aarch64"
34-
CIBW_BUILD: "*-musllinux*"
35-
RUST_TOOLCHAIN: "aarch64-unknown-linux-musl"
3626
- NAME: "macOS x86_64"
3727
OS: "macos-11"
3828
ARCH: "x86_64"

bindings/python/CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [0.8.4] - 2022-10-20
6+
57
### Fixed
68

79
- Ignoring selectors' specificity when applying declarations from different qualified rules. [#148](https://github.com/Stranger6667/css-inline/issues/148)
@@ -211,7 +213,8 @@
211213

212214
- Initial public release
213215

214-
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/python-v0.8.3...HEAD
216+
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/python-v0.8.4...HEAD
217+
[0.8.4]: https://github.com/Stranger6667/css-inline/compare/python-v0.8.3...python-v0.8.4
215218
[0.8.3]: https://github.com/Stranger6667/css-inline/compare/python-v0.8.2...python-v0.8.3
216219
[0.8.2]: https://github.com/Stranger6667/css-inline/compare/python-v0.8.1...python-v0.8.2
217220
[0.8.1]: https://github.com/Stranger6667/css-inline/compare/python-v0.8.0...python-v0.8.1

bindings/python/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "css-inline-python"
3-
version = "0.8.3"
3+
version = "0.8.4"
44
authors = ["Dmitry Dygalo <[email protected]>"]
55
edition = "2021"
66

bindings/python/README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@ Python support
113113

114114
The following wheels are available:
115115

116-
| | manylinux<br/>musllinux<br/>x86_64 | manylinux<br/>musllinux<br/>aarch64 | macOS Intel | macOS ARM64 | Windows 64bit | Windows 32bit |
117-
|----------------|:----------------:|:-----------------:|:-----------:|:-----------:|:-------------:|:-------------:|
118-
| CPython 3.7 || | ✔️ || ✔️ | ✔️ |
119-
| CPython 3.8 || | ✔️ | ✔️ | ✔️ | ✔️ |
120-
| CPython 3.9 || | ✔️ | ✔️ | ✔️ | ✔️ |
121-
| CPython 3.10 || | ✔️ | ✔️ | ✔️ | ✔️ |
122-
| PyPy 3.7 v7.3 | ✔¹ | ✔¹ | ✔️ | N/A | ✔️ | N/A |
123-
| PyPy 3.8 v7.3 | ✔¹ | ✔¹ | ✔️ | N/A | ✔️ | N/A |
116+
| | manylinux<br/>musllinux<br/>x86_64 | macOS Intel | macOS ARM64 | Windows 64bit | Windows 32bit |
117+
|----------------|:----------------:|:-----------:|:-----------:|:-------------:|:-------------:|
118+
| CPython 3.7 || ✔️ || ✔️ | ✔️ |
119+
| CPython 3.8 || ✔️ | ✔️ | ✔️ | ✔️ |
120+
| CPython 3.9 || ✔️ | ✔️ | ✔️ | ✔️ |
121+
| CPython 3.10 || ✔️ | ✔️ | ✔️ | ✔️ |
122+
| PyPy 3.7 v7.3 | ✔¹ | ✔️ | N/A | ✔️ | N/A |
123+
| PyPy 3.8 v7.3 | ✔¹ | ✔️ | N/A | ✔️ | N/A |
124124

125125
<sup>¹ PyPy is only supported for manylinux wheels.</sup><br>
126126

bindings/python/setup.py

+43-49
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,47 @@
11
import platform
22

33
from setuptools import setup
4-
from setuptools_rust import Binding, RustExtension
4+
from setuptools_rust import RustExtension
55

6-
7-
def call_setup():
8-
setup(
9-
name="css_inline",
10-
version="0.8.3",
11-
description="Fast CSS inlining written in Rust",
12-
long_description=open("README.md", encoding="utf-8").read(),
13-
long_description_content_type="text/markdown",
14-
keywords="css inline html rust",
15-
author="Dmitry Dygalo",
16-
author_email="[email protected]",
17-
maintainer="Dmitry Dygalo",
18-
maintainer_email="[email protected]",
19-
python_requires=">=3.7",
20-
url="https://github.com/Stranger6667/css-inline/tree/master/bindings/python",
21-
license="MIT",
22-
rust_extensions=[
23-
RustExtension(
24-
"css_inline",
25-
py_limited_api=True,
26-
features=(
27-
[] if platform.python_implementation() == "PyPy" else ["pyo3/abi3"]
28-
),
29-
rust_version=">=1.54.0",
30-
)
31-
],
32-
classifiers=[
33-
"Development Status :: 4 - Beta",
34-
"Intended Audience :: Developers",
35-
"License :: OSI Approved :: MIT License",
36-
"Operating System :: MacOS :: MacOS X",
37-
"Operating System :: Microsoft :: Windows",
38-
"Operating System :: POSIX",
39-
"Programming Language :: Python :: 3",
40-
"Programming Language :: Python :: 3.7",
41-
"Programming Language :: Python :: 3.8",
42-
"Programming Language :: Python :: 3.9",
43-
"Programming Language :: Python :: 3.10",
44-
"Programming Language :: Python :: Implementation :: CPython",
45-
"Programming Language :: Python :: Implementation :: PyPy",
46-
"Programming Language :: Rust",
47-
],
48-
zip_safe=False,
49-
)
50-
51-
52-
if __name__ == "__main__":
53-
call_setup()
6+
setup(
7+
name="css_inline",
8+
version="0.8.4",
9+
description="Fast CSS inlining written in Rust",
10+
long_description=open("README.md", encoding="utf-8").read(),
11+
long_description_content_type="text/markdown",
12+
keywords="css inline html rust",
13+
author="Dmitry Dygalo",
14+
author_email="[email protected]",
15+
maintainer="Dmitry Dygalo",
16+
maintainer_email="[email protected]",
17+
python_requires=">=3.7",
18+
url="https://github.com/Stranger6667/css-inline/tree/master/bindings/python",
19+
license="MIT",
20+
rust_extensions=[
21+
RustExtension(
22+
"css_inline",
23+
py_limited_api=True,
24+
features=(
25+
[] if platform.python_implementation() == "PyPy" else ["pyo3/abi3"]
26+
),
27+
rust_version=">=1.54.0",
28+
)
29+
],
30+
classifiers=[
31+
"Development Status :: 4 - Beta",
32+
"Intended Audience :: Developers",
33+
"License :: OSI Approved :: MIT License",
34+
"Operating System :: MacOS :: MacOS X",
35+
"Operating System :: Microsoft :: Windows",
36+
"Operating System :: POSIX",
37+
"Programming Language :: Python :: 3",
38+
"Programming Language :: Python :: 3.7",
39+
"Programming Language :: Python :: 3.8",
40+
"Programming Language :: Python :: 3.9",
41+
"Programming Language :: Python :: 3.10",
42+
"Programming Language :: Python :: Implementation :: CPython",
43+
"Programming Language :: Python :: Implementation :: PyPy",
44+
"Programming Language :: Rust",
45+
],
46+
zip_safe=False,
47+
)

0 commit comments

Comments
 (0)