Comments (6)
The Python binding is noarch, meaning it is not os specific. User only will download the OS specific WBT binary during initialization rather than installation. It would be overwhelming to include all five binararies >100MB in the PyPI package. whitebox is being using by many other packages. We want the installation to be smooth and fast. I would prefer to pull the WBT binaries from a central location rather than including them in the PyPI package.
from whitebox-python.
Yes, ideally, we want the pypi package version to the same as the WBT backend. I usually made a few patch releases (e.g., v2.3.1, v.2.3.2, v2.3.3) before make the minor release (e.g., v2.4.0). If we sync the pypi package version the WBT backend right away, then the pypi version will be newer than the WBT backend when we fix bugs and release a new version.
And yes, it would be great to host versioned binaries on the Whitebox server so that users can roll back to an earlier version of WBT binary. It is up to @jblindsay's decison. We discussed this issue previously at giswqs/whitebox-bin#1
from whitebox-python.
Thanks a lot for the rapid answer!
If we sync the pypi package version the WBT backend right away, then the pypi version will be newer than the WBT backend when we fix bugs and release a new version.
I get that. Would it be feasible to adopt a versioning schema along the lines of v2.4.0-1
, v2.4.0-2
, etc., to make it extra clear that these are the bindings to be used with v2.4.0 of WBT back-end, with the rightmost digit being used for patches made internally to the Python bindings?
And yes, it would be great to host versioned binaries on the Whitebox server so that users can roll back to an earlier version of WBT binary. It is up to @jblindsay's decison. We discussed this issue previously at giswqs/whitebox-bin#1
Thanks for linking to that past discussion. I think it would definitely be useful to host these versioned binaries somewhere. I don't know what the current limitations are (legal, ownership, technical, other?), but it's a real bummer not to have access to it. We are working around this by compiling ourselves from the sources which are tagged with proper version numbers on GitHub. However, if that's something the Python bindings do not plan to do themselves, it would be a big downside for users in our opinion.
Let's wait for @jblindsay's opinion on this matter. Again, we'd like to offer our help if you think it would be relevant.
from whitebox-python.
Good suggestion. I can generate new version following {major}.{minor}.{patch}-{pre_l}{pre_n}
. I use bump-my-version to bump versio.
I do keep a copy of previous WBT releases on my own, but I did not include them python bindings. I would prefer the versioned binaries to be hosted centrally on whiteboxgeo.com or the WBT GitHub repo if it is something @jblindsay willing to do.
from whitebox-python.
Good suggestion. I can generate new version following
{major}.{minor}.{patch}-{pre_l}{pre_n}
.
That'd be perfect 👌.
I do keep a copy of previous WBT releases on my own, but I did not include them python bindings. I would prefer the versioned binaries to be hosted centrally on whiteboxgeo.com or the WBT GitHub repo if it is something @jblindsay willing to do.
Yes, @jblindsay's opinion will definitely be needed here.
Any reason why you discard the possibility to compile the WBT back-end within the Python bindings, and ship the resulting binaries in the package that gets uploaded to PyPI? I think this is what would give the most control/safety over what's getting packaged in the bindings (although, arguably, this is not the easiest option to implement).
from whitebox-python.
Just noting that previous binaries are available on PyPi for Whitebox Workflows.
from whitebox-python.
Related Issues (20)
- ResourceWarnings for unclosed HOT 1
- LidarIdwInterpolation does not save CRS to output
- LidarIdwInterpolation does not save CRS to output HOT 1
- Using previous versions of WhiteboxTools HOT 8
- a bug in func (raster_to_vector_lines) HOT 3
- Raster shift in LidarPointStats? HOT 1
- Discontinuous streams HOT 5
- Negative flow path length HOT 1
- failed to use the mosaic function HOT 1
- Download_wbt.py Error HOT 10
- AttributeError: module 'whitebox' has no attribute... HOT 2
- Whitebox python lib method lidar_digital_surface_model getting stuck at filtering HOT 2
- Installing whitebox tools gets the dev version - FlightlineOverlap fails HOT 1
- wbe.contours_from_raster doesn't work HOT 1
- Unable to instance WhiteBoxTools in 2.3.1 HOT 13
- Whitebox 2.3.3 (Python): Unrecognized tool name ConditionalEvaluation HOT 3
- Can't generate output file normally HOT 4
- WBT can't convert TAG to ASCII
- Block auto ownloading WhiteboxTools pre-compiled binary HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whitebox-python.