[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

basilisk seems to rely on Python 2.7 (Was: BioConductor MOFA2 needs basilisk - which installs a conda environment)



On Sun, Sep 19, 2021 at 05:56:16PM +0200, Steffen Möller wrote:
> 
> On 19.09.21 16:09, Andreas Tille wrote:
> > On Sun, Sep 19, 2021 at 05:31:14PM +0530, Nilesh Patra wrote:
> > > But I do wonder if more packages in future might as well end up needing basilisk too.
> > I'm thinking about a "fake-basilisk" like r-cran-bh or r-bioc-zlib.
> 
> And if we just remove the dependency and not provide that package? Maybe
> even dh-r/prepare_... learns to ignore that.

I think teaching dh-r to ignore these packages is more error prone than
if we simply provide such a package.  However, what I'm really worried
about is:


r-bioc-basilisk(master) $ grep -Ri python | grep 2.7
man/basiliskStart.Rd:        "python-dateutil=2.7.1", "pytz=2018.7"))
man/setupBasiliskEnv.Rd:It is possible to specify a different version of Python in \code{packages} by supplying, e.g., \code{"python=2.7.10"}.
R/setupBasiliskEnv.R:#' It is possible to specify a different version of Python in \code{packages} by supplying, e.g., \code{"python=2.7.10"}.
R/basiliskStart.R:#'         "python-dateutil=2.7.1", "pytz=2018.7"))
tests/testthat/setup.R:old.pandas.deps <- c("python-dateutil==2.7.1", "pytz==2018.7")
tests/testthat/test-install.R:test_that("setupBasiliskEnv will install Python 2.7 if requested", {
tests/testthat/test-install.R:    setupBasiliskEnv(target, "python=2.7")
inst/example/R/basilisk.R:    packages=c("pandas==0.24.1", "python-dateutil==2.7.1", "pytz==2018.7"))
inst/doc/motivation.Rmd:It is possible to manually set up the desired environment with, e.g., Python 2.7, or to manually modify an existing environment to include custom Python packages not in PyPi or Conda.
vignettes/motivation.Rmd:It is possible to manually set up the desired environment with, e.g., Python 2.7, or to manually modify an existing environment to include custom Python packages not in PyPi or Conda.


Basilisk seems to rely on Python 2.7 which we can not provide.

Kind regards

     Andreas.

-- 
http://fam-tille.de


Reply to: