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

Vendor datashape #1284

Merged
merged 12 commits into from
Oct 3, 2023
Merged

Vendor datashape #1284

merged 12 commits into from
Oct 3, 2023

Conversation

ianthomas23
Copy link
Member

Fixes #1003.

Datashape does not import on Python 3.12. The project is unmaintained, there hasn't been a release on PyPI since 2016 and the latest git commit was 4 years ago. This PR vendors the source code within Datashader and removes the install dependency.

The Datashape test suite is also included and will be automatically run in CI. It takes less than 3 seconds to run on my dev machine so it will not noticeably affect CI run times.

@codecov
Copy link

codecov bot commented Oct 2, 2023

Codecov Report

Merging #1284 (aa8ea30) into main (f79f47a) will increase coverage by 2.21%.
The diff coverage is 97.51%.

@@            Coverage Diff             @@
##             main    #1284      +/-   ##
==========================================
+ Coverage   83.52%   85.74%   +2.21%     
==========================================
  Files          35       52      +17     
  Lines        9145    10870    +1725     
==========================================
+ Hits         7638     9320    +1682     
- Misses       1507     1550      +43     
Files Coverage Δ
datashader/datashape/__init__.py 100.00% <100.00%> (ø)
datashader/datashape/dispatch.py 100.00% <100.00%> (ø)
datashader/datashape/lexer.py 100.00% <100.00%> (ø)
datashader/datashape/predicates.py 100.00% <100.00%> (ø)
datashader/datashape/promote.py 100.00% <100.00%> (ø)
datashader/datashape/py2help.py 100.00% <100.00%> (ø)
datashader/datashape/type_symbol_table.py 100.00% <100.00%> (ø)
datashader/datashape/util/__init__.py 100.00% <100.00%> (ø)
datashader/reductions.py 80.62% <100.00%> (ø)
datashader/utils.py 76.64% <100.00%> (ø)
... and 9 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ianthomas23
Copy link
Member Author

Passes CI and successfully builds packages and docs.

@ianthomas23 ianthomas23 merged commit 1c5df74 into main Oct 3, 2023
@ianthomas23 ianthomas23 deleted the vendor_datashape branch October 3, 2023 07:11
@ianthomas23 ianthomas23 added this to the v0.15.3 milestone Oct 13, 2023
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Feb 14, 2024
https://build.opensuse.org/request/show/1146265
by user bnavigator + anag+factory
is now included and maintained within datashader:

* gh#holoviz/datashader#1003
* gh#holoviz/datashader#1284
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.

Remove dependency on datashape
1 participant