Problem when trying to upgrade a version of Leo in an existing VE to Leo 6.0 beta 1

79 views
Skip to first unread message

Viktor Ransmayr

unread,
Jun 19, 2019, 1:44:45 AM6/19/19
to leo-editor
As I reported yesterday into the announcement thread of Leo 6.0 beta 1 installation into a **new** virtual environment using pip & PyPI is working as well.

However, when I tried to install Leo 6.0 beta 1 into **existing*  virtual environments I ran into trouble. - See attached logs.

@Matt Wilkie: Is this serious enough to raise an issue?

<Log - Part 1>

(VE4Leo) PS C:\Users\Viktor\pyve\VE4Leo> pip show leo                                                                   Name: leo
Version: 6.0-devel
Summary: An IDE, PIM and Outliner
Home-page: http://leoeditor.com
Author: Edward K. Ream
Author-email: edre...@gmail.com
License: MIT License
Location: c:\users\viktor\pyve\ve4leo\lib\site-packages
Requires: nbformat, flexx, pyflakes, pylint, future, sphinx, six, PyQt5, docutils
Required-by:
(VE4Leo) PS C:\Users\Viktor\pyve\VE4Leo> 

</Log - Part 1>

<Log - Part 2>

(VE4Leo) PS C:\Users\Viktor\pyve\VE4Leo> pip install leo==6.0b1                                                         Collecting leo==6.0b1
  Downloading https://files.pythonhosted.org/packages/70/e5/3421fc20192f03c8378784f24dbbad3555966fdd4708b631023604cebe9d/leo-6.0b1-py2.py3-none-any.whl (9.4MB)
     |████████████████████████████████| 9.4MB 1.3MB/s
Requirement already satisfied: PyQt5; python_version >= "3.0" in c:\users\viktor\pyve\ve4leo\lib\site-packages (from leo==6.0b1) (5.11.3)
Requirement already satisfied: pyflakes in c:\users\viktor\pyve\ve4leo\lib\site-packages (from leo==6.0b1) (2.0.0)
Requirement already satisfied: docutils in c:\users\viktor\pyve\ve4leo\lib\site-packages (from leo==6.0b1) (0.14)
Requirement already satisfied: nbformat in c:\users\viktor\pyve\ve4leo\lib\site-packages (from leo==6.0b1) (4.4.0)
Requirement already satisfied: sphinx in c:\users\viktor\pyve\ve4leo\lib\site-packages (from leo==6.0b1) (1.8.3)
Requirement already satisfied: future in c:\users\viktor\pyve\ve4leo\lib\site-packages (from leo==6.0b1) (0.17.1)
Requirement already satisfied: pylint in c:\users\viktor\pyve\ve4leo\lib\site-packages (from leo==6.0b1) (2.2.2)
Requirement already satisfied: flexx; python_version >= "3.5" in c:\users\viktor\pyve\ve4leo\lib\site-packages (from leo==6.0b1) (0.8.0)
Collecting PyQtWebEngine (from leo==6.0b1)
  Downloading https://files.pythonhosted.org/packages/20/0f/d0d7b7e33bb3dc5411013886af43e8f922c2d8672d8173b6a5419e91ac56/PyQtWebEngine-5.12.1-5.12.3-cp35.cp36.cp37.cp38-none-win_amd64.whl (49.0MB)
     |████████████████████████████████| 49.0MB 595kB/s
Collecting meta (from leo==6.0b1)
  Downloading https://files.pythonhosted.org/packages/78/4e/bf6414dd628664eee7d03831f36fe9ffd43708c36c8bd43ae56ebe7cd69d/meta-1.0.2.tar.gz (49kB)
     |████████████████████████████████| 51kB 409kB/s
Requirement already satisfied: six in c:\users\viktor\pyve\ve4leo\lib\site-packages (from leo==6.0b1) (1.12.0)
Requirement already satisfied: PyQt5_sip<4.20,>=4.19.11 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from PyQt5; python_version >= "3.0"->leo==6.0b1) (4.19.13)
Requirement already satisfied: jupyter-core in c:\users\viktor\pyve\ve4leo\lib\site-packages (from nbformat->leo==6.0b1) (4.4.0)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from nbformat->leo==6.0b1) (2.6.0)
Requirement already satisfied: traitlets>=4.1 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from nbformat->leo==6.0b1) (4.3.2)
Requirement already satisfied: ipython-genutils in c:\users\viktor\pyve\ve4leo\lib\site-packages (from nbformat->leo==6.0b1) (0.2.0)
Requirement already satisfied: sphinxcontrib-websupport in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (1.1.0)
Requirement already satisfied: colorama>=0.3.5; sys_platform == "win32" in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (0.4.1)
Requirement already satisfied: requests>=2.0.0 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (2.21.0)
Requirement already satisfied: babel!=2.0,>=1.3 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (2.6.0)
Requirement already satisfied: snowballstemmer>=1.1 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (1.2.1)
Requirement already satisfied: alabaster<0.8,>=0.7 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (0.7.12)
Requirement already satisfied: imagesize in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (1.1.0)
Requirement already satisfied: packaging in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (18.0)
Requirement already satisfied: Jinja2>=2.3 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (2.10)
Requirement already satisfied: setuptools in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (39.0.1)
Requirement already satisfied: Pygments>=2.0 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from sphinx->leo==6.0b1) (2.3.1)
Requirement already satisfied: astroid>=2.0.0 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from pylint->leo==6.0b1) (2.1.0)
Requirement already satisfied: isort>=4.2.5 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from pylint->leo==6.0b1) (4.3.4)
Requirement already satisfied: mccabe in c:\users\viktor\pyve\ve4leo\lib\site-packages (from pylint->leo==6.0b1) (0.6.1)
Requirement already satisfied: dialite>=0.5.2 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from flexx; python_version >= "3.5"->leo==6.0b1) (0.5.2)
Requirement already satisfied: webruntime>=0.5.6 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from flexx; python_version >= "3.5"->leo==6.0b1) (0.5.6)
Requirement already satisfied: tornado in c:\users\viktor\pyve\ve4leo\lib\site-packages (from flexx; python_version >= "3.5"->leo==6.0b1) (6.0.2)
Requirement already satisfied: pscript>=0.7.1 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from flexx; python_version >= "3.5"->leo==6.0b1) (0.7.1)
Requirement already satisfied: decorator in c:\users\viktor\pyve\ve4leo\lib\site-packages (from traitlets>=4.1->nbformat->leo==6.0b1) (4.3.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from requests>=2.0.0->sphinx->leo==6.0b1) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from requests>=2.0.0->sphinx->leo==6.0b1) (2018.11.29)
Requirement already satisfied: idna<2.9,>=2.5 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from requests>=2.0.0->sphinx->leo==6.0b1) (2.8)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from requests>=2.0.0->sphinx->leo==6.0b1) (1.24.1)
Requirement already satisfied: pytz>=0a in c:\users\viktor\pyve\ve4leo\lib\site-packages (from babel!=2.0,>=1.3->sphinx->leo==6.0b1) (2018.7)
Requirement already satisfied: pyparsing>=2.0.2 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from packaging->sphinx->leo==6.0b1) (2.3.0)
Requirement already satisfied: MarkupSafe>=0.23 in c:\users\viktor\pyve\ve4leo\lib\site-packages (from Jinja2>=2.3->sphinx->leo==6.0b1) (1.1.0)
Requirement already satisfied: lazy-object-proxy in c:\users\viktor\pyve\ve4leo\lib\site-packages (from astroid>=2.0.0->pylint->leo==6.0b1) (1.3.1)
Requirement already satisfied: wrapt in c:\users\viktor\pyve\ve4leo\lib\site-packages (from astroid>=2.0.0->pylint->leo==6.0b1) (1.10.11)
Requirement already satisfied: typed-ast; python_version < "3.7" and implementation_name == "cpython" in c:\users\viktor\pyve\ve4leo\lib\site-packages (from astroid>=2.0.0->pylint->leo==6.0b1) (1.1.1)
Building wheels for collected packages: meta
  Building wheel for meta (setup.py) ... done
  Stored in directory: C:\Users\Viktor\AppData\Local\pip\Cache\wheels\c3\ae\57\3ab58d0d76a5828f892f3099bb4b55264395adde36c4f3e790
Successfully built meta
ERROR: pyqtwebengine 5.12.1 has requirement PyQt5>=5.12, but you'll have pyqt5 5.11.3 which is incompatible.
Installing collected packages: PyQtWebEngine, meta, leo
  Found existing installation: leo 6.0-devel
    Uninstalling leo-6.0-devel:
      Successfully uninstalled leo-6.0-devel
Successfully installed PyQtWebEngine-5.12.1 leo-6.0b1 meta-1.0.2
(VE4Leo) PS C:\Users\Viktor\pyve\VE4Leo> 

</Log - Part 2>

Edward K. Ream

unread,
Jun 19, 2019, 1:50:17 AM6/19/19
to leo-editor
On Wed, Jun 19, 2019 at 12:44 AM Viktor Ransmayr <viktor....@gmail.com> wrote:
As I reported yesterday into the announcement thread of Leo 6.0 beta 1 installation into a **new** virtual environment using pip & PyPI is working as well.

However, when I tried to install Leo 6.0 beta 1 into **existing*  virtual environments I ran into trouble. - See attached logs.

@Matt Wilkie: Is this serious enough to raise an issue?

As stated earlier this week, the answer to all such questions is "yes" :-)

Issues are the way all of us devs keep track of what needs attention.

Edward

Viktor Ransmayr

unread,
Jun 19, 2019, 3:51:15 PM6/19/19
to leo-editor
Hello Edward,


Am Mittwoch, 19. Juni 2019 07:50:17 UTC+2 schrieb Edward K. Ream:
On Wed, Jun 19, 2019 at 12:44 AM Viktor Ransmayr <viktor....@gmail.com> wrote:
As I reported yesterday into the announcement thread of Leo 6.0 beta 1 installation into a **new** virtual environment using pip & PyPI is working as well.

However, when I tried to install Leo 6.0 beta 1 into **existing*  virtual environments I ran into trouble. - See attached logs.

@Matt Wilkie: Is this serious enough to raise an issue?

As stated earlier this week, the answer to all such questions is "yes" :-)

You are right. - I simply did not remember the new directive/ recommendation of yours ;-) - Here's the link to this issue on  GitHub:


With kind regards,

Viktor

Matt Wilkie

unread,
Jun 26, 2019, 2:41:56 AM6/26/19
to leo-editor
Believed fixed as of a few minutes ago. Thanks for documenting the problem, one less thing for me to do when I ran into it myself. I didn't have to spend time figuring out if it was just me :)

It seems we need to require PyQt 5.12+ now because of upstream changes in how the libraries are named and packaged.

-matt

Viktor Ransmayr

unread,
Jun 27, 2019, 2:46:51 AM6/27/19
to leo-editor
Hello Matt & Community,


Am Mittwoch, 26. Juni 2019 08:41:56 UTC+2 schrieb Matt Wilkie:
Believed fixed as of a few minutes ago. Thanks for documenting the problem, one less thing for me to do when I ran into it myself. I didn't have to spend time figuring out if it was just me :)

It seems we need to require PyQt 5.12+ now because of upstream changes in how the libraries are named and packaged.

I've provided a comment to this issue. - See
Reply all
Reply to author
Forward
0 new messages