Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2018 16:05:13 +0300
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        Antoine Brodin <antoine@freebsd.org>, Babak Farrokhi <farrokhi@freebsd.org>
Cc:        ports-committers <ports-committers@freebsd.org>, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r476502 - head/devel/ipython
Message-ID:  <be94b81e-3195-2e1c-57e1-977415289362@FreeBSD.org>
In-Reply-To: <CAALwa8=sqBYWqKz8qs-GPrMtW=bJgOYzOV1aMZuWg1CvJaEAZg@mail.gmail.com>
References:  <201808061101.w76B1u6v003872@repo.freebsd.org> <CAALwa8=sqBYWqKz8qs-GPrMtW=bJgOYzOV1aMZuWg1CvJaEAZg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It was tested against python 3. All the ports are capable of python 3.
May be they should conditionally depend on ipython5 when user set to use 
python 2.7. Any reason these ports should not be switched to python3 by 
default, because ipython dependency switched to it?

math/py-yt - supports 2.7 and >= 3.4
devel/py-ipdb - supports 2.7 and >= 3.3
devel/py-ipykernel - supports 2.7 and >= 3.3
devel/py-ipyparallel - supports 2.7 and >= 3.4
devel/py-ipywidgets  - supports 2.7 and >= 3.3
devel/py-jupyter_console - supports 2.7 and >= 3.3
security/py-rekall - supports 2 and 3
devel/py-jira - supports both 2 and 3 (including py37)

I'm using the whole jupyter stack with python 3.7



Antoine Brodin wrote on 8/6/18 2:08 PM:
> Hi,
> 
> How was this tested?   This likely breaks all py27 flavors of ports
> depending on ipython.
> 
> Antoine
> 
> On Mon, Aug 6, 2018 at 1:01 PM, Babak Farrokhi <farrokhi@freebsd.org> wrote:
>> Author: farrokhi
>> Date: Mon Aug  6 11:01:55 2018
>> New Revision: 476502
>> URL: https://svnweb.freebsd.org/changeset/ports/476502
>>
>> Log:
>>    devel/ipython: Update to 6.5.0
>>
>>     - devel/ipython is now tracking 6.x mainline
>>     - Previous version of ipython (5.x series) moved to devel/ipython5
>>     - It is based on pure Python 3.3+ codebase
>>     - Supports latest Python 3.7
>>     - Remove GCC dependency since it now builds with CLANG
>>
>>    More information about new features as well as backward incompatible changes [1]
>>
>>    [1] https://ipython.readthedocs.io/en/stable/whatsnew/version6.html
>>
>>    Reviewed by: koobs, mat
>>    Approved by: koobs (python)
>>    Differential Revision:        https://reviews.freebsd.org/D16508
>>
>> Modified:
>>    head/devel/ipython/Makefile
>>    head/devel/ipython/distinfo
>>
>> Modified: head/devel/ipython/Makefile
>> ==============================================================================
>> --- head/devel/ipython/Makefile Mon Aug  6 09:44:17 2018        (r476501)
>> +++ head/devel/ipython/Makefile Mon Aug  6 11:01:55 2018        (r476502)
>> @@ -2,7 +2,7 @@
>>   # $FreeBSD$
>>
>>   PORTNAME=      ipython
>> -PORTVERSION=   5.8.0
>> +PORTVERSION=   6.5.0
>>   CATEGORIES=    devel python
>>   MASTER_SITES=  CHEESESHOP
>>   PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
>> @@ -20,11 +20,12 @@ RUN_DEPENDS=        ${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py
>>                  ${PYTHON_PKGNAMEPREFIX}prompt_toolkit>=1.0.4:devel/py-prompt_toolkit@${PY_FLAVOR} \
>>                  ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \
>>                  ${PYTHON_PKGNAMEPREFIX}simplegeneric>0.8:devel/py-simplegeneric@${PY_FLAVOR} \
>> -               ${PYTHON_PKGNAMEPREFIX}traitlets>=4.2:devel/py-traitlets@${PY_FLAVOR}
>> +               ${PYTHON_PKGNAMEPREFIX}traitlets>=4.2:devel/py-traitlets@${PY_FLAVOR} \
>> +               ${PYTHON_PKGNAMEPREFIX}jedi>=0.10:devel/py-jedi@${PY_FLAVOR} \
>> +               ${PYTHON_PKGNAMEPREFIX}backcall>=0.1.0:devel/py-backcall@${PY_FLAVOR}
>>
>> -USES=          python
>> +USES=          python:3.3+
>>   USE_PYTHON=    autoplist concurrent distutils
>> -USE_GCC=       yes # To be removed - Needed as a work-around for numpy, see PR ports/188114
>>   NO_ARCH=       yes
>>
>>   OPTIONS_DEFINE=        EXAMPLES
>> @@ -32,9 +33,6 @@ PORTEXAMPLES= *
>>
>>   .include <bsd.port.pre.mk>
>>
>> -.if ${PYTHON_REL} < 3000
>> -RUN_DEPENDS+=  ${PYTHON_PKGNAMEPREFIX}backports.shutil_get_terminal_size>=0:devel/py-backports.shutil_get_terminal_size@${PY_FLAVOR}
>> -.endif
>>   .if ${PYTHON_REL} < 3400
>>   RUN_DEPENDS+=  ${PYTHON_PKGNAMEPREFIX}pathlib2>=0:devel/py-pathlib2@${PY_FLAVOR}
>>   .endif
>>
>> Modified: head/devel/ipython/distinfo
>> ==============================================================================
>> --- head/devel/ipython/distinfo Mon Aug  6 09:44:17 2018        (r476501)
>> +++ head/devel/ipython/distinfo Mon Aug  6 11:01:55 2018        (r476502)
>> @@ -1,3 +1,3 @@
>> -TIMESTAMP = 1533032413
>> -SHA256 (ipython-5.8.0.tar.gz) = 4bac649857611baaaf76bc82c173aa542f7486446c335fe1a6c05d0d491c8906
>> -SIZE (ipython-5.8.0.tar.gz) = 4977824
>> +TIMESTAMP = 1532951494
>> +SHA256 (ipython-6.5.0.tar.gz) = b0f2ef9eada4a68ef63ee10b6dde4f35c840035c50fd24265f8052c98947d5a4
>> +SIZE (ipython-6.5.0.tar.gz) = 5084444



-- 
Regards,
Ruslan

T.O.S. Of Reality



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?be94b81e-3195-2e1c-57e1-977415289362>