EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: pyepics and python3.8; Was: Can't import PyEpics on CentOS 7
From: Matt Newville via Tech-talk <[email protected]>
To: Torsten Bögershausen <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 13 Jan 2020 12:21:56 -0600
Hi Torsten,

On Mon, Jan 13, 2020 at 11:12 AM Torsten Bögershausen <[email protected]> wrote:
Hej Matt and all
[snip]
>
> We've verified that the problem happens with Python 3.7.6, but not with Python 3.7.5.  It also appears that pyepics works with Python 3.8.0.

I couldn’t get that to work (on travis)

conda install -c conda-forge pyTest
[]
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
  - pyepics -> python[version='2.7.*|3.6.*|>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
Your python: python=3.8



I tested pyepics with Python 3.8.0 on a local machine with a virtual conda/python environment.  FWIW, the problem was in upstream Python 3.7.6 and apparently 3.8.1 and was seen by several other Python libraries.   The change that caused this problem has been undone in Python development branches and so should be in the next releases.  At this point, `conda update` will install Python 3.7.6 for very many people, so we want a fix that can work with any of Python 3.7 or 3.8 releases.  The fixes made for pyepics 3.4.1 do that and work correctly for changes in the read/write access for Python 3.7.5 and 3.7.6. 
(If you want, I can send you the whole travis log,
 or a link to it).

I didn’t manage to convince travis to use python3.7 and not 3.8
On the other hand, 3.8 seems to be the future.

Is there any chance to look at this, some day ?

Yes, definitely.   We should be testing with 3.8.  Given the problem that happened here, we may want to test with beta releases of Python.
Or should I open an issue on github ?
Or is there anything else I can help with ?

Sure, that would be great!  We could definitely use help with improving the testing framework.

--Matt



References:
Can't import PyEpics on CentOS 7 Chiang, Liang-Chih [江良志] via Tech-talk
Re: Can't import PyEpics on CentOS 7 Matt Newville via Tech-talk
pyepics and python3.8; Was: Can't import PyEpics on CentOS 7 Torsten Bögershausen via Tech-talk

Navigate by Date:
Prev: Re: New sequencer release 2.2.8 Johnson, Andrew N. via Tech-talk
Next: Killing caRepeater on Windows 10 Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: pyepics and python3.8; Was: Can't import PyEpics on CentOS 7 Torsten Bögershausen via Tech-talk
Next: EPICS Smartmotor example IOC 최원철 via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 13 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·