--- pyproject.toml.orig 2023-01-31 09:47:22.000000000 +0300 +++ pyproject.toml 2023-01-31 09:57:10.000000000 +0300 @@ -7,41 +7,7 @@ [build-system] requires = [ "wheel", - "setuptools<65", + "setuptools", "Cython>=0.29.24,<3.0", - - # NumPy dependencies - to update these, sync from - # https://github.com/scipy/oldest-supported-numpy/, and then - # update minimum version to match our install_requires min version - # ---------------------------------------------------------------- - - # numpy 1.19 was the first minor release to provide aarch64 wheels, but - # wheels require fixes contained in numpy 1.19.2 - "numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'", - # aarch64 for py39 is covered by default requirement below - - # arm64 on Darwin supports Python 3.8 and above requires numpy>=1.20.0 - "numpy==1.20.0; python_version=='3.8' and platform_machine=='arm64' and platform_system=='Darwin'", - "numpy==1.20.0; python_version=='3.9' and platform_machine=='arm64' and platform_system=='Darwin'", - - # On Windows we need to avoid 1.21.6, 1.22.0 and 1.22.1 because they were - # built with vc142. 1.22.3 is the first version that has 32-bit Windows - # wheels *and* was built with vc141. So use that: - "numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'", - - # default numpy requirements - "numpy==1.17.3; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'", - "numpy==1.19.3; python_version=='3.9' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_python_implementation != 'PyPy'", - # Note that 1.21.3 was the first version with a complete set of 3.10 wheels, - # however macOS was broken and it's safe C API/ABI-wise to build against 1.21.6 - # (see oldest-supported-numpy issues gh-28 and gh-45) - "numpy==1.21.6; python_version=='3.10' and (platform_system!='Windows' and platform_machine!='loongarch64') and platform_python_implementation != 'PyPy'", - "numpy==1.23.3; python_version=='3.11' and platform_python_implementation != 'PyPy'", - - # For Python versions which aren't yet officially supported, - # we specify an unpinned NumPy which allows source distributions - # to be used and allows wheels to be used as soon as they - # become available. - "numpy; python_version>='3.12'", - "numpy; python_version>='3.8' and platform_python_implementation=='PyPy'", + "numpy", ]