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

Use pypi as source #65

Closed
wants to merge 6 commits into from
Closed

Use pypi as source #65

wants to merge 6 commits into from

Conversation

jamesmyatt
Copy link

Project has moved from bitbucket to sourceforge, but will always be on pypi

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.

Closes #64

jamesmyatt and others added 2 commits February 13, 2020 11:44
Project has moved from bitbucket to sourceforge, but will always be on pypi
@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.

@jamesmyatt
Copy link
Author

@conda-forge-admin, please rerender

@conda-forge-linter
Copy link

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

I tried to re-render for you but ran into some issues, please ping conda-forge/core for further assistance. You can also try re-rendering locally.

@jamesmyatt
Copy link
Author

Given what it says in conda-forge/ruamel.yaml-feedstock#7 (and #1), is this the right resolution for this issue? Should it actually be tracking some Anaconda Inc repo?

recipe/meta.yaml Outdated
{% set version = "0.15.80" %}

package:
name: ruamel_yaml
name: {{ name | lower | replace(".", "_") }}
Copy link
Member

Choose a reason for hiding this comment

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

Is this actually a different package then?

Copy link
Author

Choose a reason for hiding this comment

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

As I understand it, this is a mirror of the Anaconda Inc fork (ruamel_yaml) of the upstream project (ruamel.yaml). I'll hard-code the conda package name, but the upstream package is "ruamel.yaml".

Copy link
Member

Choose a reason for hiding this comment

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

Right, but there is a separate ruamel.yaml package & feedstock for that

Copy link
Author

Choose a reason for hiding this comment

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

Right. But there's also a ruamel_yaml package that's based on the same upstream Python code.

Copy link
Author

@jamesmyatt jamesmyatt Feb 20, 2020

Choose a reason for hiding this comment

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

To be honest, I made this PR before I understood anything about the difference between the two packages, but now I wonder whether to give up on the "ruamel_yaml" package entirely.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I think giving up on one of them is the right move, and I think it is this one.

@jakirkham jakirkham requested a review from scopatz March 4, 2020 21:40
@@ -1,17 +1,18 @@
{% set name = "ruamel.yaml" %}
Copy link
Member

Choose a reason for hiding this comment

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

There is already a ruamel.yaml package

Copy link
Author

Choose a reason for hiding this comment

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

This doesn't set the name of the package.
It just sets a variable that's used in the source/url templates.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, but you use the same source as another package that is already on conda-forge. If that is really the case, this whole recipe should just be an alias package instead

Copy link
Author

Choose a reason for hiding this comment

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

This is just a fix for #64, so that this package can start updating again. There's a whole different discussion about whether this package should exist or not:

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 those are very coupled conversations

Copy link
Author

@jamesmyatt jamesmyatt Mar 11, 2020

Choose a reason for hiding this comment

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

How so? Surely. if it exists (which it does) then it's better to update it, so that bug and security fixes can be included.

Besides, as I understand it from conda-forge/ruamel.yaml-feedstock#7 (Specifically conda-forge/ruamel.yaml-feedstock#7 (comment)), this package is supposed to be different from the ruamel.yaml package (via patches), even if it's the same upstream source.

Copy link
Member

Choose a reason for hiding this comment

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

Is this builds exactly the same source as another feedstock, then why should both of them exist?

Copy link
Author

Choose a reason for hiding this comment

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

Because this version has patches (I think) so it's not exactly the same (I think)

Or is there an option to remove it?

Copy link
Member

Choose a reason for hiding this comment

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

But you are getting the source from the other package here I thought, which is why I was confused

Copy link
Author

Choose a reason for hiding this comment

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

Given #64, would it be better to just use the sourceforge repo as the new source?

@jamesmyatt
Copy link
Author

@conda-forge-admin, please rerender

@jamesmyatt
Copy link
Author

I'm going to withdraw this since it's not going anywhere.

@jamesmyatt jamesmyatt closed this Jun 23, 2020
@jamesmyatt jamesmyatt deleted the feature/use-pypi branch June 28, 2020 21:00
@jamesmyatt jamesmyatt mentioned this pull request Oct 2, 2020
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.

Repository https://bitbucket.org/ruamel/yaml has been deleted
3 participants