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

Remove previously deprecated functionality #1113

Merged
merged 30 commits into from
Jan 17, 2024
Merged

Remove previously deprecated functionality #1113

merged 30 commits into from
Jan 17, 2024

Conversation

gboeing
Copy link
Owner

@gboeing gboeing commented Jan 16, 2024

This PR removes previously deprecated functionality for v2.0.0 to streamline the API and make it more user friendly.

  • remove previously deprecated functionality
  • fix bug in handling ConnectionError when querying Overpass status endpoint
  • fix which_result param so it is consistently able to accept a list throughout the package
  • rename osm_xml module to _osm_xml to make it private/internal as all its functionality is private (the io and graph modules expose its public functionality)
  • make bbox_from_point function return bbox as a tuple of floats for consistency with rest of package
  • improve/fix docstrings, warning messages, and a few type annotations

See also #1106

@gboeing gboeing mentioned this pull request Jan 16, 2024
13 tasks
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (19ac164) 97.86% compared to head (845d32b) 97.79%.
Report is 1 commits behind head on v2.

❗ Current head 845d32b differs from pull request most recent head fb9cc5e. Consider uploading reports for the commit fb9cc5e to get more accurate results

Files Patch % Lines
osmnx/_osm_xml.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               v2    #1113      +/-   ##
==========================================
- Coverage   97.86%   97.79%   -0.08%     
==========================================
  Files          28       26       -2     
  Lines        2625     2356     -269     
==========================================
- Hits         2569     2304     -265     
+ Misses         56       52       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gboeing gboeing merged commit d8939e1 into v2 Jan 17, 2024
5 checks passed
@gboeing gboeing deleted the dep branch January 17, 2024 17:44
@gboeing
Copy link
Owner Author

gboeing commented May 3, 2024

The first pre-release OSMnx v2 beta has been released. Testers needed! See #1123 for details.

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.

None yet

1 participant