geopython / pywps

PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.
https://pywps.org
MIT License
175 stars 117 forks source link

drop py2 reqs #569

Closed fmigneault closed 3 years ago

fmigneault commented 3 years ago

Overview

The bigger issue about desync master / pywps-4,2 branch remains, but at least pywps-4.2 branch can be installed without conflicting dependencies.

Related Issue / Discussion

568

Additional Information

Contribution Agreement

(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

cehbrecht commented 3 years ago

I would prefer to support only python>=3.6.

flufl.enum has support for python 3.6 ... well ... by doing nothing. https://pypi.org/project/flufl.enum/4.1.1/

Can we skip enum34 and pathlib if we only support py>=3.6?

Dropping complete py2 support would go into the pywps 4.4 version.

fmigneault commented 3 years ago

I don't mind dropping their support. I'm also good with >=3.6 has this is the versions I use. The critical issue I face is that those libraries somehow get installed when they shouldn't. They end up overriding the ones in standard libs, which result in missing methods being raised.

cehbrecht commented 3 years ago

I don't mind dropping their support. I'm also good with >=3.6 has this is the versions I use. The critical issue I face is that those libraries somehow get installed when they shouldn't. They end up overriding the ones in standard libs, which result in missing methods being raised.

I would only support Python >=3.6. Would you like to make this change so that it fits?

fmigneault commented 3 years ago

@cehbrecht all done. I also added the python_requires for setup install. This will be reflected in pip packages/releases.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 74.957% when pulling 4965fd7647fecf87c8dc89141fa34bc730068101 on fmigneault:backport-py2-reqs into 67a2daae02cc0db8fbc1a58c914425e35ab749cb on geopython:pywps-4.2.

cehbrecht commented 3 years ago

@fmigneault looks good :smile: I will make a new 4.2 release ... hopefully the last one. The next one should be 4.4.