public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ATTN MAINTAINER] mercurial with python3
@ 2021-01-02  8:54 Marco Atzeri
  2021-02-17 18:55 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Atzeri @ 2021-01-02  8:54 UTC (permalink / raw)
  To: cygwin-apps

Hi Jari,
can you provide a test version that works with python3.8 ?

----------------------------------------------------------
$ hg clone http://hg.code.sf.net/p/graphicsmagick/code GM
Traceback (most recent call last):
   File "/usr/bin/hg", line 43, in <module>
     dispatch.run()
   File "/usr/lib/python3.8/importlib/util.py", line 245, in 
__getattribute__
     self.__spec__.loader.exec_module(self)
   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
   File "<frozen importlib._bootstrap>", line 219, in 
_call_with_frames_removed
   File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 
22, in <module>
...
     import http.cookiejar as cookielib
   File "/usr/lib/python3.8/importlib/util.py", line 245, in 
__getattribute__
     self.__spec__.loader.exec_module(self)
   File "/usr/lib/python2.7/site-packages/http/__init__.py", line 7, in 
<module>
     raise ImportError('This package should not be accessible on Python 3. '
ImportError: This package should not be accessible on Python 3. Either 
you are trying to run from the python-future src folder or your 
installation of python-future is corrupted.
-----------------------------------------------------------------------------

the usage of

$ alternatives --config python

to set for python2.7 works as expected for the time being.

Regards
Marco





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ATTN MAINTAINER] mercurial with python3
  2021-01-02  8:54 [ATTN MAINTAINER] mercurial with python3 Marco Atzeri
@ 2021-02-17 18:55 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2021-02-17 18:55 UTC (permalink / raw)
  To: cygwin-apps

ping

On 02.01.2021 09:54, Marco Atzeri wrote:
> Hi Jari,
> can you provide a test version that works with python3.8 ?
> 
> ----------------------------------------------------------
> $ hg clone http://hg.code.sf.net/p/graphicsmagick/code GM
> Traceback (most recent call last):
>    File "/usr/bin/hg", line 43, in <module>
>      dispatch.run()
>    File "/usr/lib/python3.8/importlib/util.py", line 245, in 
> __getattribute__
>      self.__spec__.loader.exec_module(self)
>    File "<frozen importlib._bootstrap_external>", line 783, in exec_module
>    File "<frozen importlib._bootstrap>", line 219, in 
> _call_with_frames_removed
>    File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 
> 22, in <module>
> ...
>      import http.cookiejar as cookielib
>    File "/usr/lib/python3.8/importlib/util.py", line 245, in 
> __getattribute__
>      self.__spec__.loader.exec_module(self)
>    File "/usr/lib/python2.7/site-packages/http/__init__.py", line 7, in 
> <module>
>      raise ImportError('This package should not be accessible on Python 
> 3. '
> ImportError: This package should not be accessible on Python 3. Either 
> you are trying to run from the python-future src folder or your 
> installation of python-future is corrupted.
> ----------------------------------------------------------------------------- 
> 
> 
> the usage of
> 
> $ alternatives --config python
> 
> to set for python2.7 works as expected for the time being.
> 
> Regards
> Marco


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-17 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-02  8:54 [ATTN MAINTAINER] mercurial with python3 Marco Atzeri
2021-02-17 18:55 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).