Open jshingler opened 4 years ago
Even set it up in a NEW Docker container just to make sure something in my environment wasn't the problem.
this enum problem you just need to force version, I found it somewhere in the issue a while ago. python { ... other config ... forceVersion('pypi', 'flake8', '3.2.1') forceVersion('pypi', 'six', '1.13.0') }
For anyone still struggling, yes with some effort pygradle does work with Python3.8. See pygradle_python3_example for details: https://github.com/alghoshal/pygradle_python3_example/blob/main/README.md Also my comment on another issue: https://github.com/linkedin/pygradle/issues/351#issuecomment-2296475658
For the enum bit, that's primarily a flake8-3.6 dependency on enum34, which is not supported in Python-3.
See fixDownloadedIvyModules.sh (Line No 25) for removal of the dependency from the flake8-3.6.0.ivy file: https://github.com/alghoshal/pygradle_python3_example/blob/main/scripts/fixDownloadedIvyModules.sh#L25
Okay, ... Still a newbie to python, ... I use gradle in professional life, ... I was excited to see python plugin for gradle, ...
been looking into this off and on for 2 days, .... thought maybe I was doing something wrong, ... starting to think that maybe pygradle doesnt work work Python3.8?
See output below.
gradle build
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-491x_3qg/