Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formally adopting Python 3 / abandon Python 2 #58

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

vpipkt
Copy link

@vpipkt vpipkt commented Jan 7, 2020

Release notes
Type hints in many user facing parts of the API
Removing awkward if sys.version < 3 stuff
Deprecating some of the f(l: Column, r: float) and f(l: Column, r: int) functions in favor of a more general f(l: Column, r: Union[float, int, Column]) signature

It seems like we were a good deal of the way towards python 3 already.

Signed-off-by: Jason T. Brown <jason@astraea.earth>
@vpipkt vpipkt changed the title Formally adopting Python 3 Formally adopting Python 3 / abandon Python 2 Jan 7, 2020
@vpipkt vpipkt requested a review from metasim January 7, 2020 21:15
Copy link

@metasim metasim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As always, fantastic work :)

@@ -22,6 +22,7 @@
- Revisit use of `Tile` equality since [it's more strict](https://github.com/locationtech/geotrellis/pull/2991)
- Update `reference.conf` to use `geotrellis.raster.gdal` namespace.
- Replace all uses of `TileDimensions` with `geotrellis.raster.Dimensions[Int]`.
* Formally abandon support for Python 2. Python 2 is dead. Long live Python 2.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a sentence stating type hints have been added.

@vpipkt vpipkt merged commit 98248c5 into feature/gt-3.0 Jan 9, 2020
@metasim metasim deleted the feature/gt-3.0-python3 branch January 23, 2020 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants