Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2019 13:27:26 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518008 - head/devel/py-joblib
Message-ID:  <201911201327.xAKDRQsi068459@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Nov 20 13:27:26 2019
New Revision: 518008
URL: https://svnweb.freebsd.org/changeset/ports/518008

Log:
  - Limit python version (does not build with 3.8)
  - Add NO_ARCH
  
  Failure with 3.8:
  
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "setup.py", line 6, in <module>
      import joblib
    File "/wrkdirs/usr/ports/devel/py-joblib/work-py38/joblib-0.13.0/joblib/__init__.py", line 119, in <module>
      from .parallel import Parallel
    File "/wrkdirs/usr/ports/devel/py-joblib/work-py38/joblib-0.13.0/joblib/parallel.py", line 28, in <module>
      from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend,
    File "/wrkdirs/usr/ports/devel/py-joblib/work-py38/joblib-0.13.0/joblib/_parallel_backends.py", line 22, in <module>
      from .executor import get_memmapping_executor
    File "/wrkdirs/usr/ports/devel/py-joblib/work-py38/joblib-0.13.0/joblib/executor.py", line 14, in <module>
      from .externals.loky.reusable_executor import get_reusable_executor
    File "/wrkdirs/usr/ports/devel/py-joblib/work-py38/joblib-0.13.0/joblib/externals/loky/__init__.py", line 12, in <module>
      from .backend.reduction import set_loky_pickler
    File "/wrkdirs/usr/ports/devel/py-joblib/work-py38/joblib-0.13.0/joblib/externals/loky/backend/reduction.py", line 125, in <module>
      from joblib.externals import cloudpickle  # noqa: F401
    File "/wrkdirs/usr/ports/devel/py-joblib/work-py38/joblib-0.13.0/joblib/externals/cloudpickle/__init__.py", line 3, in <module>
      from .cloudpickle import *
    File "/wrkdirs/usr/ports/devel/py-joblib/work-py38/joblib-0.13.0/joblib/externals/cloudpickle/cloudpickle.py", line 167, in <module>
      _cell_set_template_code = _make_cell_set_template_code()
    File "/wrkdirs/usr/ports/devel/py-joblib/work-py38/joblib-0.13.0/joblib/externals/cloudpickle/cloudpickle.py", line 148, in _make_cell_set_template_code
      return types.CodeType(
  TypeError: an integer is required (got type bytes)
  *** Error code 1
  
  Approved by:	portmgr blanket

Modified:
  head/devel/py-joblib/Makefile

Modified: head/devel/py-joblib/Makefile
==============================================================================
--- head/devel/py-joblib/Makefile	Wed Nov 20 13:12:44 2019	(r518007)
+++ head/devel/py-joblib/Makefile	Wed Nov 20 13:27:26 2019	(r518008)
@@ -13,7 +13,8 @@ COMMENT=	Lightweight pipelining using Python functions
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		python
+USES=		python:-3.7
 USE_PYTHON=	distutils autoplist
+NO_ARCH=	yes
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911201327.xAKDRQsi068459>