Skip to content

fix: Use importlib for 3.12+ compatibility.#11

Merged
endrebak merged 2 commits into
pyranges:masterfrom
blaiseli:fix_10
Jun 9, 2025
Merged

fix: Use importlib for 3.12+ compatibility.#11
endrebak merged 2 commits into
pyranges:masterfrom
blaiseli:fix_10

Conversation

@blaiseli

Copy link
Copy Markdown
Contributor

Hopefully solves this issue:
#10

I have tested Python 3.13.2 and 3.8.18 as follows:

python3 -c "import sorted_nearest; print(sorted_nearest.__version__)"

In both cases it is able to print something ("0.0.40").

Hopefully solves this issue:
pyranges#10

I haven't tested retro-compatibility for older Python versions, though.
@endrebak

Copy link
Copy Markdown
Collaborator

You are very kind to do this. I’ll look at it tomorrow morning.

@maayan-amid

Copy link
Copy Markdown

I would also appreciate it if this fix was merged :)

@endrebak

endrebak commented Jun 9, 2025

Copy link
Copy Markdown
Collaborator

Sorry! I'll fix it today.

I'm so busy on the new and improved pyranges which is ready now: https://github.com/pyranges/pyranges_1.x

@endrebak endrebak merged commit e4ff818 into pyranges:master Jun 9, 2025
9 checks passed
@endrebak

endrebak commented Jun 9, 2025

Copy link
Copy Markdown
Collaborator

Thanks to you all for making the PR and nagging me.

@endrebak

endrebak commented Jun 9, 2025

Copy link
Copy Markdown
Collaborator

I still need to build the package and upload wheels

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.

3 participants