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

Update for 0.4.1 #49

Merged
merged 6 commits into from
Mar 6, 2019
Merged

Update for 0.4.1 #49

merged 6 commits into from
Mar 6, 2019

Conversation

jorisvandenbossche
Copy link
Member

@jorisvandenbossche jorisvandenbossche commented Mar 6, 2019

Checklist

  • Used a fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@jorisvandenbossche
Copy link
Member Author

Ensured the license file is being packaged.

@ocefpaf did I understand your comment correctly in that the full line license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE.txt' can be dropped (now the license file is in the tar.gz package), or do I still need to keep something like license_file: 'LICENSE.txt' ?

@ocefpaf
Copy link
Member

ocefpaf commented Mar 6, 2019

You still have to keep license_file: 'LICENSE.txt'.

@ocefpaf ocefpaf mentioned this pull request Mar 6, 2019
@ocefpaf
Copy link
Member

ocefpaf commented Mar 6, 2019

@jorisvandenbossche you can also remove the LICENSE.txt from the feedstock.

@gboeing
Copy link

gboeing commented Mar 6, 2019

@jorisvandenbossche looks like the sha needs to be updated in meta.yml

@jorisvandenbossche
Copy link
Member Author

@gboeing yep, was already doing that :-)

@jorisvandenbossche
Copy link
Member Author

@ocefpaf So it is failing on the testing phase, because the created environment with fiona is broken ... :) (potentially similar problem as we have been talking about today).
Is there a way to influence how the build process creates the environment to build / test geopandas? (eg use a strict channel config?)

@ocefpaf
Copy link
Member

ocefpaf commented Mar 6, 2019

We should be discussed forcing strict in conda-forge builds but I don't think we'll do that soon. You just forced me to dig deep in find the culprit. (It may take a while though...)

@@ -27,9 +27,9 @@ requirements:
- rtree
- descartes
- matplotlib
- psycopg2
# - psycopg2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jorisvandenbossche if my findings are correct psycopg2 is the culprit b/c conda-forge is in the middle of the openssl migration and conda ends up preferring an old libgdal from defaults instead of the libgdal 2.4 from conda-forge. We can:

  • remove psycopg2 for now, it is an optional dependency, and re-add it later;
  • force libgdal 2.4 here. bu over-specifing our dependencies we help conda do the right thing;
  • or implement the strict channel policy on the feedstocks. (Pinging @conda-forge/core here for this one.)

@msarahan the issue on the staged-recipe package you pinged me a few days ago is probably similar. Sorry but I lost the link and I forgot the name of the package.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looking into it now to see if it is the same issue. I'm afraid that the best solution would be enforcing strict channel in our builds.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's a good solution. I think conda should consider changing to strict channel priority by default for conda 4.7, but before then I'd like to try to improve the messaging around unsatisfiable dependencies. A lot of people have been confused about how strict channel priority makes some packages unavailable, even though they seem to be available by inspection.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the conda forge pinning enough to know if forcing libgdal to 2.4 could cause problems (if it is pinned like that, why do we actually not get it? Is it possible right now to install geopandas with eg gdal 2.3?).
So I would defer to your judgement. Removing psycopg2 is fine (then also sqlalchemy). That might be a good thing anyway, as it is quite optional.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the conda forge pinning enough to know if forcing libgdal to 2.4 could cause problems (if it is pinned like that, why do we actually not get it?

It won't cause a lot of problems but we won't be able to install geopandas 0.4.1 with libgdal 2.3.

Is it possible right now to install geopandas with eg gdal 2.3?).

It is as long as you use the strict channel 😄

So I would defer to your judgement. Removing psycopg2 is fine (then also sqlalchemy). That might be a good thing anyway, as it is quite optional.

Let's go for this option then. Do you want to also remove sqlalchemy for consistently not provide the optional deps?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to also remove sqlalchemy for consistently not provide the optional deps?

just because the one is only useful with the other

@ocefpaf ocefpaf merged commit 27046bf into conda-forge:master Mar 6, 2019
@jorisvandenbossche jorisvandenbossche deleted the rel-041 branch March 6, 2019 22:04
@jorisvandenbossche
Copy link
Member Author

@ocefpaf thanks a lot for figuring it out!

@ocefpaf
Copy link
Member

ocefpaf commented Mar 6, 2019

@ocefpaf thanks a lot for figuring it out!

Thank you for your patience. Hopefully conda 4.7 will enforce strict channel by default and all our problems will go away. (Or we will just create new ones 😜)

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

Successfully merging this pull request may close these issues.

5 participants