spacetelescope / calcos

Calibration for HST/COS.
https://hst-docs.stsci.edu/cosdhb/chapter-3-cos-calibration
3 stars 27 forks source link

Retire Python 2 #28

Open pllim opened 6 years ago

pllim commented 6 years ago

Python 2 will not be maintained past Jan 1, 2020 (see https://pythonclock.org/). Please remove all Python 2 compatibility and move this package to Python 3 only.

For conda recipe (including astroconda-contrib), please include the following to prevent packaging it for Python 2 (https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html?preprocessing-selectors#skipping-builds):

build: 
  skip: true  # [py2k] 

Please close this issue if it is irrelevant to your repository. This is an automated issue. If this is opened in error, please let pllim know!

Rplesha commented 6 years ago

@stscirij this issue can be closed, correct? I believe we moved everything to Python 3 last year.

pllim commented 6 years ago

To be clear, retiring also means you remove the six and compat stuff and also disallow installation of this in Python 2. I don't think that part is in yet.