Skip to content

DM-54643: Fix optional pyproj import in test_pipelines.py#266

Merged
roceb merged 1 commit intomainfrom
tickets/DM-54643
Apr 15, 2026
Merged

DM-54643: Fix optional pyproj import in test_pipelines.py#266
roceb merged 1 commit intomainfrom
tickets/DM-54643

Conversation

@roceb
Copy link
Copy Markdown
Contributor

@roceb roceb commented Apr 14, 2026

Guard the pyproj import with a try/except block so that the test
module can be loaded even when pyproj is not installed. The import
was only needed to work around a file handle leakage issue and is
not required for the tests themselves to function.

@roceb roceb force-pushed the tickets/DM-54643 branch from 98d692a to 2ab2658 Compare April 14, 2026 02:21
@roceb roceb changed the title DM-54643: Remove pyproj dependence of skyproj DM-54643: Fix optional pyproj import in test_pipelines.py Apr 14, 2026
@roceb roceb force-pushed the tickets/DM-54643 branch from 2ab2658 to e30a119 Compare April 15, 2026 15:22
Copy link
Copy Markdown
Member

@timj timj left a comment

Choose a reason for hiding this comment

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

Looks okay. One comment. Assume I am approving the other 3 with the same comment.

Comment thread tests/test_pipelines.py Outdated
@roceb roceb force-pushed the tickets/DM-54643 branch from e30a119 to a79e940 Compare April 15, 2026 18:32
@roceb roceb merged commit 5b40916 into main Apr 15, 2026
2 checks passed
@roceb roceb deleted the tickets/DM-54643 branch April 15, 2026 18:34
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