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

Deprecate use of feature and geometry dicts #1116

Merged
merged 2 commits into from
Jun 10, 2022
Merged

Conversation

sgillies
Copy link
Member

@sgillies sgillies commented Jun 9, 2022

And eliminate internal usage.

All test modules with changes have been reformatted using black. This was maybe misguided... I'll do a trial merge to the main branch and see what the impact is.

And eliminate internal usage.

All test modules with changes have been reformatted using black.
@sgillies sgillies added the bug label Jun 9, 2022
@sgillies sgillies added this to the CRS class &c milestone Jun 9, 2022
@sgillies sgillies self-assigned this Jun 9, 2022
if isinstance(obj, (int, float)):
return round(obj, precision)
else:
return [recursive_round(part, precision) for part in obj]
Copy link
Member Author

Choose a reason for hiding this comment

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

Replaces the previous rounding functions.

@sgillies
Copy link
Member Author

sgillies commented Jun 9, 2022

A trial merge (default) of this branch to master would have multiple simple conflicts in a number of files. Using git merge deprecate-dicts -X theirs would produce no conflicts to resolve, and only one error in fio/cat.py to fix.

@sgillies
Copy link
Member Author

sgillies commented Jun 9, 2022

setup.py gets messed up by -X theirs, so I'd want to figure out how to use the default strategy for that file.

@sgillies sgillies marked this pull request as ready for review June 10, 2022 01:25
@sgillies
Copy link
Member Author

The wheel builder is happy with d55b959 https://github.com/sgillies/fiona-wheels/actions/runs/2472175016. I'm going to merge this, tag 1.9a2, build wheels and release in the morning.

@sgillies sgillies merged commit 90de37d into maint-1.9 Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant