From: Alan G. I. <ala...@gm...> - 2023-08-29 19:55:32
|
Latest docutils from Subversion repository (vis svn update). Installed with python312 setup.py install Subsequent message from pip: DEPRECATION: Loading egg at c:\program files\python312\lib\site-packages\docutils-0.21b0.dev0-py3.12.egg is deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. I searched but did not find an answer to the question: what does this mean, and how to address it? Thanks, Alan |
From: Guenter M. <mi...@us...> - 2023-08-29 21:01:48
|
On 2023-08-29, Alan G. Isaac wrote: > Latest docutils from Subversion repository (vis svn update). > Installed with > python312 setup.py install > Subsequent message from pip: > DEPRECATION: Loading egg at c:\program files\python312\lib\site-packages\docutils-0.21b0.dev0-py3.12.egg is deprecated. pip 23.3 will enforce this behaviour > change. A possible replacement is to use pip for package installation. Where did you get the egg from? > I searched but did not find an answer to the question: > what does this mean, and how to address it? Latest tips at https://docutils.sourceforge.io/README.html#installation |
From: Alan G. I. <ala...@gm...> - 2023-08-29 21:37:10
|
> On 2023-08-29, Alan G. Isaac wrote: >> Latest docutils from Subversion repository (vis svn update). >> Installed with >> python312 setup.py install >> Subsequent message from pip: >> DEPRECATION: Loading egg at c:\program files\python312\lib\site-packages\docutils-0.21b0.dev0-py3.12.egg is deprecated. pip 23.3 will enforce this behaviour >> change. A possible replacement is to use pip for package installation. > On 8/29/2023 5:01 PM, Guenter Milde via Docutils-users wrote: > Where did you get the egg from? You? :-) It is created when I run python312 setup.py install (As I have done for many years.) > On 2023-08-29, Alan G. Isaac wrote: >> I searched but did not find an answer to the question: >> what does this mean, and how to address it? On 8/29/2023 5:01 PM, Guenter Milde via Docutils-users wrote: > Latest tips at > https://docutils.sourceforge.io/README.html#installation Sure, but to install the current code on Subversion, I cannot use pip. Right?? I suspect (??) this serves as an alert to the docutils project that it must change how it uses setuptools before pip 23.3 is released. Thanks, Alan |
From: Guenter M. <mi...@us...> - 2023-08-30 09:44:06
|
Dear Alan, On 2023-08-29, Alan G. Isaac wrote: > On 8/29/2023 5:01 PM, Guenter Milde via Docutils-users wrote: >> On 2023-08-29, Alan G. Isaac wrote: >>> Latest docutils from Subversion repository (vis svn update). >>> Installed with >>> python312 setup.py install >>> Subsequent message from pip: >>> DEPRECATION: Loading egg at c:\program files\python312\lib\site-packages\docutils-0.21b0.dev0-py3.12.egg is deprecated. pip 23.3 will enforce this behaviour >>> change. A possible replacement is to use pip for package installation. >>> I searched but did not find an answer to the question: >>> what does this mean, and how to address it? > On 8/29/2023 5:01 PM, Guenter Milde via Docutils-users wrote: >> Latest tips at >> https://docutils.sourceforge.io/README.html#installation > Sure, but to install the current code on Subversion, > I cannot use pip. Right?? Actually, no. The linked documentation tells you: * To install a `development version`_ *from source*: 1. Open a shell 2. Go to the directory containing the file ``setup.py``. 3. Install the package with **one** of the following commands:: pip install -e . # editable install pip install . # regular install python setup.py # regular install with setuptools and ``pip install --help`` explains what an "editable install" is: -e, --editable <path/url> Install a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url. > I suspect (??) this serves as an alert to the > docutils project that it must change how it > uses setuptools before pip 23.3 is released. Thank you for the pointer. The Docutils project distributes "wheels" instead of "eggs" since 2015¹, so we should be safe for now. We actually plan to replace "setup.py" in one of the next releases https://sourceforge.net/p/docutils/patches/186/ Thanks, Günter ¹Hence my question where you got the egg from. |
From: Alan G. I. <ala...@gm...> - 2023-08-31 14:43:44
|
It was like "refrigerator blindness": I saw only what I expected to see. Thanks for your willingness to be so explicit. Alan On 8/30/2023 5:43 AM, Guenter Milde via Docutils-users wrote: > The linked documentation tells you: > > * To install a `development version`_*from source*: > > 1. Open a shell > > 2. Go to the directory containing the file ``setup.py``. > > 3. Install the package with **one** of the following commands:: > > pip install -e . # editable install > pip install . # regular install > python setup.py # regular install with setuptools > > and ``pip install --help`` explains what an "editable install" is: > > -e, --editable <path/url> Install a project in editable mode (i.e. > setuptools "develop mode") from a local project > path or a VCS url. |