Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730962 - dev-util/gyp-99999999999999 - add python3_8 support
Summary: dev-util/gyp-99999999999999 - add python3_8 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-10-19
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-05 18:53 UTC by jdek
Modified: 2020-09-21 16:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gyp-99999999999999.ebuild (gyp-99999999999999.ebuild,843 bytes, text/plain)
2020-07-05 18:53 UTC, jdek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jdek 2020-07-05 18:53:05 UTC
Created attachment 647844 [details]
gyp-99999999999999.ebuild

I'm running PYTHON_SINGLE_TARGET="python3_8", but the gyp ebuild only supports 3.6 and 3.7. I've modified the ebuild in my local repository to add 3.8, and as far as I can tell it seems to work correctly. I have used it to build mozc.

Please see attached an updated ebuild, I hope this can be useful to others.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2020-07-06 00:17:30 UTC
Why you do not send patch for test suite with Python 3.8 to GYP upstream?
Comment 2 jdek 2020-07-06 15:18:13 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #1)
> Why you do not send patch for test suite with Python 3.8 to GYP upstream?
I don't have time to patch GYP. It fails the same tests as 3.7 according to the buildbot/travis-test.sh script. There are no additional incompatibilities in 3.8. This ebuild update suffices for my usage (and likely others who are only using GYP for mozc).
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-07-06 19:09:14 UTC
If you tried `PYTHON_SINGLE_TARGET="python3_8" ebuild gyp-99999999999999.ebuild test`, you would see that test suite fails to run.
Comment 4 jdek 2020-07-06 20:32:57 UTC
I ran the tests outside of the ebuild, the difference is that I did not use `--verbose`, this breaks the tests. The ebuild can be 'fixed' by removing this option.