python2 vs python3 module build

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

python2 vs python3 module build

marco atzeri-4
I was thinking to adopt and update some orphaned package
as I need pytest for python3.

Currenty there is also a collision in the python2 area
$ cygcheck -f /usr/bin/pytest
pylint-1.3.1-1
python-logilab-common-0.62.0-1

However it seems I need to build two different
versions for python 2 and python3
--------------------------------------------
$ cygport pylint.cygport install
 >>> Installing pylint-2.2.2-1.x86_64
Processing ./dist/pylint-2.2.2-py2-none-any.whl
pylint requires Python '>=3.4.*' but the running Python is 2.7.14
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
*** ERROR: pip2 install failed
--------------------------------------------

Cygport Question:
  there is a way to build only one of the two version as
  "inherit python-wheel" build both ?

attached tentative cygport file.

Regards
Marco




---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

pylint.cygport (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: python2 vs python3 module build

marco atzeri-4
Am 20.12.2018 um 05:42 schrieb Marco Atzeri:
> I was thinking to adopt and update some orphaned package
> as I need pytest for python3.
>

>
> Cygport Question:
>   there is a way to build only one of the two version as
>   "inherit python-wheel" build both ?
>
> attached tentative cygport file.
>
> Regards
> Marco
>
  answering myself

   inherit python3-wheel

just noted after sending the post

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus