Giter VIP home page Giter VIP logo

Comments (10)

ivirshup avatar ivirshup commented on July 18, 2024

I don't know that it's a bug to import from a private module that has optional dependencies (which are specified under anndata[test]) and for that to error.

Seems related to why I had to pin anndata fairly high here: scverse/scanpy#2816

There really is an issue of needing a similar set of helpers, but not wanting these helpers to be public because they're not considered stable.

Also, I really think the immediate answer is to add zarr with a TODO comment to the scanpy test dependencies.

from anndata.

flying-sheep avatar flying-sheep commented on July 18, 2024

@ilan-gold is on it. Let’s not have zarr feature-creep its way into scanpy’s minimal test deps. It’s the day of hotfixes it seems

from anndata.

flying-sheep avatar flying-sheep commented on July 18, 2024

Once pytest 8.0 is out, we can finally tackle the whole reorganization:

  1. make the anndata repo use a src layout
  2. create the public test module (anndata.test_utils or anndata.testing or testing.anndata) with an associated extra
  3. have scanpy depend on that
  4. move anndata’s tests out of the package

from anndata.

ivirshup avatar ivirshup commented on July 18, 2024

I'm not against doing a testing module, though I do think we have to be selective about what goes in it and probably need to test it more thoroughly.

I just don't think that this problem neccesarily needs an immediate bug fix release.

from anndata.

flying-sheep avatar flying-sheep commented on July 18, 2024

I'm not against doing a testing module, though I do think we have to be selective about what goes in it and probably need to test it more thoroughly.

totally! those are all reasons why we should do it!

I just don't think that this problem neccesarily needs an immediate bug fix release.

I don’t like accumulating hacks, I guess. Doing it the other way means we can forget about it, and can’t merge the minimum-deps branch before we have removed zarr again.

from anndata.

ivirshup avatar ivirshup commented on July 18, 2024

Could do a .post release?

I don’t like accumulating hacks, I guess. Doing it the other way means we can forget about it, and can’t merge the minimum-deps branch before we have removed zarr again.

I'm not sure how that PR would be more affected by this?

from anndata.

ivirshup avatar ivirshup commented on July 18, 2024

I've checked the current 0.10.x branch against scanpy, I think a post branch seems appropriate here. I can make one from 08e7b94.

Any objection?

from anndata.

flying-sheep avatar flying-sheep commented on July 18, 2024

I think I don’t fully understand. If you just mean calling the release .post instead of giving it a new patch version number, sure!

from anndata.

ivirshup avatar ivirshup commented on July 18, 2024

Huh: https://github.com/scverse/anndata/actions/runs/7670757953

from anndata.

ivirshup avatar ivirshup commented on July 18, 2024

Guess it's just flaky somehow?

https://github.com/scverse/anndata/actions/runs/7670870992/job/20907984190

Anyways, release made

from anndata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.