Comments (6)
Ha, of course they do! A >10 year migration period should have been plenty for even the most glacial company.
Whoever is still invested in 2.7 by 2020 had it coming for a loooong time and their users should switch to a competitor.
from anndata.
Or perhaps AnnData doesn't support Python2, in which case setup.py should complain about my Python version, since after that I get another error:
import anndata
File "C:\Python27\lib\site-packages\anndata\__init__.py", line 1, in <module>
from .base import AnnData, _MAIN_NARRATIVE
File "C:\Python27\lib\site-packages\anndata\base.py", line 66
def __new__(cls, input_array: np.ndarray, parent: Any, attr: str):
^
SyntaxError: invalid syntax
from anndata.
Yup, we only support somehow recent python versions!
FYI: 2.7 is really old, deprecated and its end-of-life is 2020-01-01! https://pythonclock.org
Many important projects will end support then or before then, so starting anything in Python 2 today is a bad idea: http://python3statement.org/
from anndata.
Thanks for the fix @flying-sheep. I'm only using Python2 to run tests to make sure my code is backwards compatible, something I've committed to do until pandas drops support next January.
Thanks for the quick response!
from anndata.
That’s very laudable! Sorry if I came over preachy, it’s just that I still meet some people who are surprised that Python 2.7 is about to die 😄
from anndata.
Not a problem :) A lot of users (hopefully not devs) are still using Python 2.7 though - hopefully the great python gods have a plan of how to migrate everyone across.
from anndata.
Related Issues (20)
- `to_df` docstrings
- dask.array.store but with anndata schema HOT 1
- Indexing With a Dask Array HOT 5
- adata.raw = adata HOT 1
- GPU CI tests failing HOT 2
- Add working `GroupStorageType` type annotation
- 0.10.6 - Cannot write files due to implicit conversion to str dtype. HOT 2
- Saving .h5ad with pd.Series in .uns results in IORegistryError HOT 3
- `read_elem_as_dask` HOT 8
- `FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'` on CI HOT 2
- 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
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.