maturin 1.8.7__py3-none-macosx_10_12_x86_64.whl → 1.9.1__py3-none-macosx_10_12_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of maturin might be problematic. Click here for more details.

maturin/__init__.py CHANGED
@@ -21,13 +21,13 @@ import sys
21
21
  from subprocess import SubprocessError
22
22
  from typing import Any, Dict, Mapping, List, Optional
23
23
 
24
- try:
25
- import tomllib
26
- except ModuleNotFoundError:
27
- import tomli as tomllib # type: ignore
28
-
29
24
 
30
25
  def get_config() -> Dict[str, str]:
26
+ try:
27
+ import tomllib
28
+ except ModuleNotFoundError:
29
+ import tomli as tomllib # type: ignore
30
+
31
31
  with open("pyproject.toml", "rb") as fp:
32
32
  pyproject_toml = tomllib.load(fp)
33
33
  return pyproject_toml.get("tool", {}).get("maturin", {})
maturin/bootstrap.py CHANGED
@@ -17,23 +17,15 @@ from typing import Any
17
17
 
18
18
  # noinspection PyUnresolvedReferences
19
19
  from setuptools.build_meta import * # noqa:F403
20
- from setuptools.build_meta import (
21
- get_requires_for_build_sdist as _orig_get_requires_for_build_sdist,
22
- )
23
- from setuptools.build_meta import (
24
- get_requires_for_build_wheel as _orig_get_requires_for_build_wheel,
25
- )
26
20
 
27
21
 
28
22
  def get_requires_for_build_wheel(config_settings: dict[str, Any] | None = None) -> list[str]:
29
- reqs = _orig_get_requires_for_build_wheel()
30
23
  if not os.environ.get("MATURIN_NO_INSTALL_RUST") and not shutil.which("cargo"):
31
- reqs.append("puccinialin>=0.1,<0.2")
32
- return reqs
24
+ return ["puccinialin>=0.1,<0.2"]
25
+ return []
33
26
 
34
27
 
35
28
  def get_requires_for_build_sdist(config_settings: dict[str, Any] | None = None) -> list[str]:
36
- reqs = _orig_get_requires_for_build_sdist()
37
29
  if not os.environ.get("MATURIN_NO_INSTALL_RUST") and not shutil.which("cargo"):
38
- reqs.append("puccinialin>=0.1,<0.2")
39
- return reqs
30
+ return ["puccinialin>=0.1,<0.2"]
31
+ return []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maturin
3
- Version: 1.8.7
3
+ Version: 1.9.1
4
4
  Classifier: Topic :: Software Development :: Build Tools
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -0,0 +1,7 @@
1
+ maturin-1.9.1.data/scripts/maturin,sha256=KY5_quplCy2Votv5_w26ubeuzGBdjWbOz_76qlb_PF4,19952816
2
+ maturin-1.9.1.dist-info/METADATA,sha256=xY-6gugbDzXaPltAqtSFXeuYP0gqvG3cwxkW3n9foGA,16552
3
+ maturin-1.9.1.dist-info/WHEEL,sha256=dd8rtIJFWnfzDOgAQwoYfatLKJTFbLjX6PuIZXTAASs,103
4
+ maturin/__init__.py,sha256=uqsqa4z60b8iY_zUA8Ck6-tpiluPnfdeCYwc3abE1nw,8096
5
+ maturin/__main__.py,sha256=Fg40Rg6srWYrH0s2ZgbIOysRDnZf2tX-z5VJAPyOs4Y,1145
6
+ maturin/bootstrap.py,sha256=U_jynfhC471rOty8unVExBqf4RCZQxhxl_wyl0shCO4,1172
7
+ maturin-1.9.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.8.7)
2
+ Generator: maturin (1.9.1)
3
3
  Root-Is-Purelib: false
4
4
  Tag: py3-none-macosx_10_12_x86_64
@@ -1,7 +0,0 @@
1
- maturin-1.8.7.data/scripts/maturin,sha256=Ia1lr0mKfBIP64SYajZLup9TfWSFcs3j9llCi1KZ1W4,19934224
2
- maturin-1.8.7.dist-info/METADATA,sha256=s9usQDvJYCvbBiZx02aq0luuLCvxc3OvFqbHllCGOBc,16552
3
- maturin-1.8.7.dist-info/WHEEL,sha256=AgcgFPJQxwUY0FbdvgcuHGlHLXquuFOiTHLZ5U4HEa8,103
4
- maturin/__init__.py,sha256=PnrUq1TbEWzMXTvshio2m5JzVy42DLFsjzsiRvPxC9M,8080
5
- maturin/__main__.py,sha256=Fg40Rg6srWYrH0s2ZgbIOysRDnZf2tX-z5VJAPyOs4Y,1145
6
- maturin/bootstrap.py,sha256=aA0k-740PLv-XuAXrFKl6eRqKDpXqn3L1JeH5b3PjJU,1500
7
- maturin-1.8.7.dist-info/RECORD,,