Comments (1)
OK, summary of @ivirshup’s and my discussion:
There are some rare cases that require jumping around between commits in editable installs so much that .__version__
and version()
disagree in a significant way. E.g. @ivirshup sometimes debugs something in both an upstream and then a downstream library with both being editably installed so he can quickly git switch
between versions. Then he makes a PR from one of these repos. During this process the discrepancy can get so big that apparently some version checks in some librarly can get affected and result in different code paths.
Since there are projects relying on either (or in case of scanpy, both) APIs for version checks, and packages that don’t have .__version__
, the situation is already broken: One can’t rely on anything working, even if all our projects use .__version__
exclusively where possible.
Resolutions:
- I continue working on https://github.com/flying-sheep/session-info2 which will be able to show when there’s a discrepancy.
- I ask if someone’s interested in writing a PEP in https://discuss.python.org/t/dynamic-versions-in-editable-installations/15220/26
- If there’s no progress in that discussion, we will focus on some developer-side solution (because as said, the situation is already broken, so there would have to be something facilitating workflows like the above)
@ivirshup did I get that all right?
from anndata.
Related Issues (20)
- Upcoming Scipy 1.13 incompatible with file-backed sparse matrices
- CZI files' `var` count changd
- `/` in column names makes AnnData Zarr object unreadable on windows HOT 12
- String indexes in var lead to UserWarning HOT 1
- Move tests out of the package
- Refactor `BaseCompressedSparseDataset` and subclasses to remove `backed_{csr,csc}_matrix`
- concat_on_disk should use int64 indptrs by default so that it can concatenate large files HOT 4
- TypeError: Can't implicitly convert non-string objects to strings HOT 4
- Error concatenating scRNA with visium dataset
- Error: Expected a python object, received a character HOT 1
- memory usage of concat HOT 3
- Using `Pint` for units HOT 9
- UMAP of gene subset of adata HOT 1
- Error using sc.pl.stacked_violin HOT 1
- NotImplementedError with concat_on_disk
- Issue when setting anndata.X to numpy array HOT 3
- Does anndata.raw can be automatically modified after define it?
- Make the call to `_check_uniqueness()` optional in `_init_as_actual()` (and `__init__()`) HOT 1
- `concat_on_disk` outer join
- `concat_on_disk` merge strategies are untested/not implemented
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 anndata.