-
Notifications
You must be signed in to change notification settings - Fork 13
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
Questions regarding the dependencies for the conda package #43
Comments
Thanks, @ocefpaf! I'm pinging @sreeder, the main odm2api developer/maintainer, so she can chime in.
Regarding |
Ok, re-reading the questions and my answers ... regarding |
If that change is not going |
It's not. https://github.com/geoalchemy/geoalchemy ("geoalchemy1") was last updated 3 years ago and is no longer maintained. geoalchemy2 is its replacement, but it focuses only on PostgreSQL, not multiple RDBMS as geoalchemy1 did. We have no intention of taking up that burden; our use and tweak/fix to geoalchemy1 was only a stopgap for our own benefit to allow us to move forward with odm2api. We're happy to make it available to others via github and anaconda, though. How/where should we rename it? Should we rename the github repo itself? Or just the conda package? |
That is up to you. I would rename the repository and the conda package. This is a fork that separated from the original tree. Note that renaming everything comes with an extra maintenance burden. However, if |
matplotlib is only being used in the sample file to show a user that they can plot the time series data. so it is not required by the api itself. |
To be honest, if you already have I meant that a conda package for |
re: @sreeder, in the long run, we should work towards making each of the RDBMS packages optional (except for SQLite, but that's a non-issue); users of odm2api who are never going to use, say, postgresql and mysql, shouldn't have to install those dependencies, even if they're easy to install via conda. But this is a separate issue, not a near-term priority; I've created a new issue (#44) for future reference. |
Thanks. Let's fully get rid of them from requirements.txt.
That rings a bell. It might be in |
Let's rename the conda package only (to |
@sreeder, I'm not finding It looks like it's a remnant from something else done previously and it's no longer used by odm2api or its dependencies. If so, cool! @ocefpaf, unless @sreeder, wants to take a closer look, please get rid of |
@sreeder, should we go ahead with the conclusion that |
I think we can remove dateutils. It might have been a dependency in another package. setup_clean has a good set of dependencies. |
@valentinedwv, thanks. We'll go with that. |
@emiliom I say go for it. Could you take care of it for me? I am taking a personal day today, so I am not in the office. Thanks! |
Thanks for the heads-up, @sreeder. Yup, we'll take care of it on the conda end. Looks like @valentinedwv has already taken care of it on the Based on Stephanie being out today, looks like Monday will be the best day to resolve all setup changes and align our pypi and conda packaging efforts. I'll start a new issue about this in a few minutes. |
@emiliom the current
requirement.txt
hasThe forked
geoalchemy
is easy to solve in a conda package, but I have a few concerns regarding other packages.dateutils
is outdated and unavailable in Python > 2.7. Maybe it is worth revisiting the code that usesdateutils
and adapt it to a modern library;psycopg2
is commented out and I don't know if it is an optional or mandatory dependency. Also, it is unavailable on Windows. (But it might be available soon. See initial commit of adding psycopg2 conda-forge/staged-recipes#101);matplotlib
is also commented out. I am guessing that is an optional dependency;sqlalchemy-migrate
same as above. There is no conda package for this one. We will need to add it here.I usually recommend to add the optional dependencies when packaging with conda. What do you want to do here?
The text was updated successfully, but these errors were encountered: