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

Fix Cython language_level not set #1940

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

kounelisagis
Copy link
Member

When running both pipx run build or python -m build, I get:

<string>:9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html

I followed this migration guide: https://importlib-resources.readthedocs.io/en/latest/migration.html#pkg-resources-resource-filename

Also fixed:
FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /Users/agis/TileDB_workspace/TileDB-Py/tiledb/libtiledb.pxd

@kounelisagis
Copy link
Member Author

pkg_resources not used since #1969.

@kounelisagis kounelisagis changed the title Fix pkg_resources DeprecationWarning and Cython language_level not set Fix Cython language_level not set May 23, 2024
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

2 participants