pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/math/py-scipy



On Tue, Apr 06, 2021 at 01:11:17PM +0000, Nia Alarie wrote:
> Module Name:  pkgsrc
> Committed By: nia
> Date:         Tue Apr  6 13:11:17 UTC 2021
> 
> Modified Files:
>       pkgsrc/math/py-scipy: Makefile
> 
> Log Message:
> py-scipy: unbreak bulk builds
> 
> if you mark a package incompatible with python version X, you also
> need to mark any dependent packages incompatible with version X


Given

  commit 0a4f408d9bd560f9a379d2e33b136b93f3583042
  Author: Tyler Reddy <tyler.je.reddy%gmail.com@localhost>
  Date:   Fri Nov 13 14:58:12 2020 -0700

      BLD: drop Python 3.6 support (NEP 29)

  diff --git a/setup.py b/setup.py
  index 95ea95ddc..a922c79eb 100755
  --- a/setup.py
  +++ b/setup.py
  @@ -27,8 +27,8 @@ import sysconfig
   from distutils.version import LooseVersion
 
 
  -if sys.version_info[:2] < (3, 6):
  -    raise RuntimeError("Python version >= 3.6 required.")
  +if sys.version_info[:2] < (3, 7):
  +    raise RuntimeError("Python version >= 3.7 required.")

I think the person who updated the package was right in marking
it not suitable for 3.6. 

So is it that the failure mode of the bulk build will now be in
some sense better?
Is this a general python version issue better solved in pbulk?


Cheers,

Patrick



Home | Main Index | Thread Index | Old Index