Skip to content

help specifying a build requirement from a github repo release (for geoalchemy fork) #18

Closed
@emiliom

Description

@emiliom

@ocefpaf, if you have a bit of time (right!) I'd like to bug -- or beg? 😺 -- you for help with specifying a package dependency. This isn't conda packaging, yet; that'll be a separate conversation in the future. And it's not IOOS related, at least not yet.

The ODM2PythonAPI (odm2api) package has a dependency on a slightly customized fork of the old and no-longer-maintained geoalchemy "1"; FYI, that's the original geoalchemy, not the actively maintained geoalchemy2. The reasons for having that dependency and tweaking the old code are beyond the scope of this issue, but trust me that they are valid! I can fill you in offline if you really care.

We'd like to be able to update setup.py and/or requirements.txt so that our geoalchemy fork will be installed automatically when od2api is pip-installed via pip install git+https://github.com/ODM2/ODM2PythonAPI.git. Currently I can complete the installation with conda by setting up a conda env with all other dependencies already available via the anaconda main channel or the ioos channel (eg: conda create -n odm2api python=2.7 sqlalchemy psycopg2 pymysql pyodbc). Then, on that env, I pip install git+https://github.com/ODM2/geoalchemy.git, and then pip install git+https://github.com/ODM2/ODM2PythonAPI.git. We'd like to be able to specify the setup/requirements so the last step carries out the right geoalchemy installation automatically. What we've tried hasn't worked.

We're not interested in pushing our geoalchemy fork to pypi or anything more formal, for now.

I've just created a new release for our geoalchemy fork (v0.7.3), off the master branch. We don't anticipate any additional changes in the foreseeable future.

I know you're very busy, so if this looks too complicated, no worries if you have to pass. But if it's easy and you can help us, that'd be fantastic! We are a bit out of our depth here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions