Skip to content

Use Photutils 3+ use_future_column_names context manager#2153

Merged
s-goldman merged 4 commits into
spacetelescope:mainfrom
larrybradley:photutils3-compat2
May 21, 2026
Merged

Use Photutils 3+ use_future_column_names context manager#2153
s-goldman merged 4 commits into
spacetelescope:mainfrom
larrybradley:photutils3-compat2

Conversation

@larrybradley

@larrybradley larrybradley commented May 20, 2026

Copy link
Copy Markdown
Member

Resolves HLA-nnnn

This PR is a followup to #2139 to use the use_future_column_names context manager for locally-scoped changes instead of the future_column_names global variable. This is a better approach if photutils is also being used outside of drizzlepac (the global variable isn't mutated) so users will not be surprised.

I've also updated the minversion now that photutils 3.0 is released.

CC: @s-goldman

Checklist for maintainers

  • added entry in CHANGELOG.rst within the relevant release section
  • updated or added relevant tests
  • updated relevant documentation
  • added relevant label(s)

Regression test:
https://github.com/spacetelescope/RegressionTests/actions/runs/26179736913

@larrybradley larrybradley requested a review from a team as a code owner May 20, 2026 16:58
@s-goldman s-goldman added code cleanup Code refactoring, cleanup of temporary code jirahub-ignore Avoid linking to Jira dependencies Pull requests that update a dependency file labels May 20, 2026
@s-goldman

Copy link
Copy Markdown
Collaborator

@larrybradley Feel free to merge this when you are ready.

@larrybradley

Copy link
Copy Markdown
Member Author

@s-goldman I don't have permissions to merge:

Merging is blocked
You're not authorized to push to this branch.

@s-goldman

Copy link
Copy Markdown
Collaborator

Ahh, apologies. I'll go ahead and merge this then. Thanks for helping us with this transition!

@s-goldman s-goldman merged commit 389caf4 into spacetelescope:main May 21, 2026
17 checks passed
@larrybradley larrybradley deleted the photutils3-compat2 branch May 21, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code cleanup Code refactoring, cleanup of temporary code dependencies Pull requests that update a dependency file jirahub-ignore Avoid linking to Jira

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants