GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use TODO comments to track deprecations and workarounds by seisman · Pull Request #3722 · GenericMappingTools/pygmt

Conversation

@seisman

@seisman seisman commented Dec 26, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Description of proposed changes

See #3705 for context.

A simple grep to find all TODOs:

$ grep '# TODO' **/*.py
pygmt/clib/conversion.py:    # TODO(pandas>=2.2): Remove the workaround for pandas<2.2.
pygmt/clib/session.py:            # TODO(GMT>6.5.0): Remove the workaround for upstream bug in GMT<=6.5.0.
pygmt/clib/session.py:    # TODO(PyGMT>=0.15.0): Remove the deprecated open_virtual_file method.
pygmt/clib/session.py:        # TODO(PyGMT>=0.16.0): Remove the "*args" parameter and related codes.
pygmt/clib/session.py:    # TODO(PyGMT>=0.15.0): Remove the deprecated virtualfile_from_data method.
pygmt/conftest.py:# TODO(NumPy>=2.0): Remove the conftest.py file.
pygmt/datasets/tile_map.py:    # TODO(contextily>=1.5.0): Remove the check for the 'zoom_adjust' parameter.
pygmt/figure.py:        # TODO(GMT>=6.5.0): Remve the workaround for upstream bug in GMT<6.5.0.
pygmt/helpers/tempfile.py:            # TODO(GeoPandas>=1.0): Remove the workaround for GeoPandas < 1.
pygmt/src/ternary.py:    # TODO(GMT>=6.5.0): Remove the patch for upstream bug fixed in GMT 6.5.0.
pygmt/src/timestamp.py:    # TODO(GMT>=6.5.0): Remove the patch for upstream bug fixed in GMT 6.5.0.
pygmt/src/timestamp.py:        # TODO(GMT>=6.5.0): Remove the workaround for the new '+t' modifier.
pygmt/tests/test_accessor.py:# TODO(GMT>=6.5.0): Remove the xfail marker for GMT>=6.5.0.
pygmt/tests/test_clib_to_numpy.py:        # TODO(NumPy>=2.0): Remove the if-else statement after NumPy>=2.0.
pygmt/tests/test_clib_to_numpy.py:    # TODO(pandas>=2.2): Remove the workaround for float16 dtype in pandas<2.2.
pygmt/tests/test_clib_to_numpy.py:    # TODO(pandas>=2.2): Remove the workaround for float16 dtype in pandas<2.2.
pygmt/tests/test_clib_to_numpy.py:                # TODO(pandas>=2.1): Remove the skipif marker for pandas<2.1.
pygmt/tests/test_clib_to_numpy.py:            # TODO(pyarrow>=16): Remove the skipif marker for pyarrow<16.
pygmt/tests/test_clib_virtualfile_from_vectors.py:# TODO(PyGMT>=0.16.0): Remove this test in PyGMT v0.16.0 in which the "*args" parameter
pygmt/tests/test_clib_virtualfile_in.py:# TODO(GMT>6.5.0): Remove the xfail marker for GMT<=6.5.0.
pygmt/tests/test_clib_virtualfile_in.py:# TODO(PyGMT>=0.16.0): Remove this test in PyGMT v0.16.0 in which the old usage of
pygmt/tests/test_clib_virtualfiles.py:# TODO(PyGMT>=0.15.0): Remove the test after removing the deprecated open_virtual_file
pygmt/tests/test_datasets_earth_relief.py:# TODO(GMT X.Y.Z): Upstream bug which is not fixed yet.
pygmt/tests/test_grdimage.py:# TODO(GMT>6.5.0): Remove the xfail marker for GMT<=6.5.0.
pygmt/tests/test_meca.py:# TODO(GMT>=6.5.0): Remove the skipif condition for GMT>=6.5.0.
pygmt/tests/test_meca.py:# TODO(GMT>=6.5.0): Remove the skipif marker for GMT>=6.5.0.
pygmt/tests/test_x2sys_cross.py:# TODO(GMT>=6.5.0): Remove the xfail marker for the upstream bug fixed in GMT 6.5.0.
pygmt/tests/test_x2sys_cross.py:# TODO(GMT>=6.5.0): Remove the xfail marker for the upstream bug fixed in GMT 6.5.0.
pygmt/tests/test_x2sys_cross.py:# TODO(GMT>=6.5.0): Remove the xfail marker for the upstream bug fixed in GMT 6.5.0.
pygmt/tests/test_x2sys_cross.py:# TODO(GMT>=6.5.0): Remove the xfail marker for the upstream bug fixed in GMT 6.5.0.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@seisman
Use TODO comments to track deprecations and workarounds
65b9c26
@seisman seisman added the maintenance Boring but important stuff for the core devs label Dec 26, 2024
@seisman seisman mentioned this pull request Dec 26, 2024
Use "TODO" comments to track deprecated codes or workarounds for old versions #3705
Closed
4 tasks done
@seisman seisman added this to the 0.14.0 milestone Dec 26, 2024
seisman added 3 commits December 26, 2024 20:55
@seisman
Merge branch 'main' into refactor/todo
d6b258a
@seisman
Merge branch 'main' into refactor/todo
d738b52
@seisman
Fixes
8dbdff5
@seisman seisman added the final review call This PR requires final review and approval from a second reviewer label Dec 27, 2024
seisman added 2 commits December 27, 2024 15:54
@seisman
Add one more todo
0600fb6
@seisman
Add one more todo
106454c
@seisman seisman mentioned this pull request Dec 27, 2024
Release PyGMT v0.14.0 #3691
Closed
37 of 49 tasks
@seisman
seisman merged commit d890e91 into main Dec 28, 2024
@seisman
seisman deleted the refactor/todo branch December 28, 2024 14:10
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Dec 28, 2024
@seisman seisman mentioned this pull request Jan 2, 2025
clib.Session: Remove deprecated virtualfile_from_data method, use virtualfile_in instead (Deprecated since v0.13.0) #3739
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Milestone

0.14.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@seisman
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.