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

WIP: Version 1.5.1, and split into geoviews-core + geoviews #4

Merged
merged 6 commits into from
Jun 7, 2018

Conversation

ceball
Copy link
Contributor

@ceball ceball commented Jun 7, 2018

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
  • Ensured the license file is being packaged.

Have split geoviews into geoviews and geoviews-core, so that there's a useful package for users, and a version more suitable as a dependency for "application developers". Depends on: conda-forge/staged-recipes#6042

Note: I'm not sure about the netcdf version specification. We have it described in the master list of dependencies as "currently needed for libgdal on defaults (but not c-f)". However, since that was written, I don't know how things might have changed. I propose to remove the pin and see what happens.

So, also to do:

  • geoviews-core on conda-forge
  • remove netcdf version specification if possible.

@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.

@ceball
Copy link
Contributor Author

ceball commented Jun 7, 2018

@conda-forge-admin, please rerender

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-webservice.

I rerendered the feedstock and it seems to be already up-to-date.

@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.

@ceball ceball changed the title Version 1.5.1, and split into geoviews-core + geoviews WIP: Version 1.5.1, and split into geoviews-core + geoviews Jun 7, 2018
recipe/meta.yaml Outdated

package:
name: geoviews
name: {{ name }}
Copy link
Member

Choose a reason for hiding this comment

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

Defining a variable that will be used only once is adding a line and obfuscating the recipe for no real gain. Do you mind reverting this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no problem reverting this.

(I copied it from conda-forge's docs at https://github.com/conda-forge/staged-recipes/blob/master/recipes/example/meta.yaml, but I guess there name is also used in the download link.)

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, that makes sense only when copying and pasting to create a new recipe, which we don't do anymore thanks to conda-skeleton. It is a relic that only obfuscate the recipe.

- bokeh >=0.12.15
- libgdal
- matplotlib
- netcdf4 <1.4.0
Copy link
Member

Choose a reason for hiding this comment

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

This is requiring a lot of extras! Indeed a core package is needed for this case.
Are you planning on using split packages and a single recipe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not planning to do anything different from what I've already done here and at conda-forge/staged-recipes#6042 (i.e. geoviews is a metapackage that depends on geoviews-core, and the recipes are separate(*)). However, I'm totally open to suggestions about how to do it better (especially if you can link to an example I can copy...).
(I should point out I'm not an author or maintainer of geoviews; any opinions I express are my own :) )

(*) we release (dev) packages to the pyviz (dev) channel; those recipes are templated to avoid duplication of metadata, which also ensures the version of geoviews and geoviews-core matches.

@ceball
Copy link
Contributor Author

ceball commented Jun 7, 2018

@ocefpaf, do you know what to do about the license in this case (i.e. for a metapackage containing no source code)?

(My guess would be to remove license_file.)

@ocefpaf
Copy link
Member

ocefpaf commented Jun 7, 2018

We should add a license manually. See https://conda-forge.org/docs/meta.html#packaging-the-license-manually

@ceball
Copy link
Contributor Author

ceball commented Jun 7, 2018

The license will be included by geoviews-core, though...I guess I'm wondering what there is to license in the metapackage? (Still, happy to follow the suggestion.)

@ocefpaf
Copy link
Member

ocefpaf commented Jun 7, 2018

I get that it is redundant but every package needs a license, even a metapackage 😬


about:
home: http://geoviews.org
license: BSD 3-Clause
# license_file: LICENSE # license is not packages in the source tarball :-(
summary: 'GeoViews is a Python library that makes it easy to explore and visualize geographical'
license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE'
Copy link
Member

Choose a reason for hiding this comment

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

You need to commit that file 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops! missed it from my commit

@ocefpaf ocefpaf merged commit a169dc3 into conda-forge:master Jun 7, 2018
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.

None yet

3 participants