enthought / apptools

Other
37 stars 24 forks source link

Update etstool for use with Python 3.8 #316

Closed mdickinson closed 2 years ago

mdickinson commented 2 years ago

This PR updates etstool.py and the EDM-based test workflow to support Python 3.8 as well as Python 3.6.

The etstool.py changes ended up being more extensive than I originally intended, since I ran into issues with using a non-EDM Python as a bootstrap environment on Windows. So there's now some additional logic to identify the EDM executable on Windows, overridable through a command-line argument or an environment variable. (This logic was copied from other similar workflows, like the one in Envisage.)

Checklist

mdickinson commented 2 years ago

(successful) ets-from-source run on this branch: https://github.com/enthought/apptools/actions/runs/2860939442