Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JOSS Review] Update docs to use asimov-feedstock for conda-forge #5

Open
matthewfeickert opened this issue Apr 17, 2023 · 2 comments

Comments

@matthewfeickert
Copy link

matthewfeickert commented Apr 17, 2023

As @danehkar pointed out in his review (openjournals/joss-reviews#4170 (comment)) at the moment the "Installation using conda" instructions

Installation using ``conda``
----------------------------
It is also possible to install asimov in a conda environment from conda forge.
You can do this by ensuring that your conda environment is activated, and then running
.. code-block:: console
$ conda install -c conda-forge ligo-asimov

tell the user to install from the deprecated ligo-asimov conda-forge feedstock. c.f. conda-forge/ligo-asimov-feedstock#8

These should be migrated to the new (and maintained) https://github.com/conda-forge/asimov-feedstock which is just a change to

.. code-block:: console

		$ conda install -c conda-forge asimov
@matthewfeickert
Copy link
Author

@transientlunatic this is a trivial fix and I would just open the MR myself, but can't given openjournals/joss-reviews#4170 (comment) and so will leave this to you.

@matthewfeickert
Copy link
Author

Example of this working with https://github.com/conda-forge/asimov-feedstock:

$ docker run --rm -ti mambaorg/micromamba:1.4.1 /bin/bash
(base) mambauser@2488b78d5912:/tmp$ micromamba install -c conda-forge -y asimov
...
(base) mambauser@2488b78d5912:/tmp$ python -m pip show asimov
Name: asimov
Version: 0.4.0
Summary: A Python package for managing and interacting with data analysis jobs.
Home-page: https://git.ligo.org/asimov/asimov
Author: Daniel Williams
Author-email: daniel.williams@ligo.org
License: MIT license
Location: /opt/conda/lib/python3.11/site-packages
Requires: click, flask, gitpython, gwpy, htcondor, igwn-auth-utils, ligo-gracedb, liquidpy, lscsoft-glue, networkx, numpy, otter-report, python-gitlab, pytz, pyyaml, requests, tinydb
Required-by: 
(base) mambauser@2488b78d5912:/tmp$ command -v asimov
/opt/conda/bin/asimov
(base) mambauser@2488b78d5912:/tmp$ asimov init --help
Usage: asimov init [OPTIONS] NAME

  Roll-out a new project.

Options:
  --root TEXT       Location to create the project, default is the current
                    directory.
  --working TEXT    The location to store working directories, default is a
                    directory called 'working' inside the current directory.
  --checkouts TEXT  The location to store cloned git repositories.
  --results TEXT    The location where the results store should be created.
  --user TEXT       The user account to be used for accounting purposes.
                    Defaults to the current user if not set.
  --help            Show this message and exit.
(base) mambauser@2488b78d5912:/tmp$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant