Skip to content

Commit

Permalink
build/pkgs/pythran/install-requires.txt: add lower bound
Browse files Browse the repository at this point in the history
Require at least pythran-0.12.1 for the bugfix in upstream commit
cd68ac68, "Only use numpy.distutils conditionally." Earlier versions
of pythran can emit deprecation warnings that cause the test suite to
fail; for example,

  sage: cython("cdef class A:\n    cdef public int a")
  DeprecationWarning:
      `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
      of the deprecation of `distutils` itself. It will be removed for
      Python >= 3.12. For older Python versions it will remain present.
      It is recommended to use `setuptools < 60.0` for those Python versions.
      For more details, see:
        https://numpy.org/devdocs/reference/distutils_status_migration.html
  • Loading branch information
orlitzky committed Aug 31, 2023
1 parent 0cb24ce commit 54592ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/pkgs/pythran/install-requires.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pythran
pythran >=0.12.1

0 comments on commit 54592ee

Please sign in to comment.