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

Behaviour of run_exports has changed? #2609

Closed
nehaljwani opened this issue Dec 29, 2017 · 2 comments · Fixed by #2613
Closed

Behaviour of run_exports has changed? #2609

nehaljwani opened this issue Dec 29, 2017 · 2 comments · Fixed by #2613
Labels
locked [bot] locked due to inactivity

Comments

@nehaljwani
Copy link
Contributor

(base) [root@eb29c4d90e4d tmp]# cat meta.yaml 
package:
  name: test
  version: 1.0.0

build:
  run_exports:
    - {{ pin_subpackage('test') }}

With CB 3.1.4:

(base) [root@eb29c4d90e4d tmp]# conda build -V
conda-build 3.1.4

(base) [root@eb29c4d90e4d tmp]# conda build .                                                                                                                                                                      
Attempting to finalize metadata for test
INFO:conda_build.metadata:Attempting to finalize metadata for test
BUILD START: ['test-1.0.0-0.tar.bz2']
...
anaconda upload /opt/conda/conda-bld/linux-64/test-1.0.0-0.tar.bz2
...

(base) [root@eb29c4d90e4d tmp]# tar -xf /opt/conda/conda-bld/linux-64/test-1.0.0-0.tar.bz2 info/run_exports.yaml -O                                                                                                
weak: ['test >=1.0.0,<2.0a0']

With CB >=3.1.5:

(base) [root@eb29c4d90e4d tmp]# conda build -V                                                                                                                                                                     
conda-build 3.1.5

(base) [root@eb29c4d90e4d tmp]# conda build .                                                                                                                                                                      
Attempting to finalize metadata for test
INFO:conda_build.metadata:Attempting to finalize metadata for test
BUILD START: ['test-1.0.0-0.tar.bz2']
...
anaconda upload /opt/conda/conda-bld/linux-64/test-1.0.0-0.tar.bz2
...

(base) [root@eb29c4d90e4d tmp]# tar -xf /opt/conda/conda-bld/linux-64/test-1.0.0-0.tar.bz2 info/run_exports.yaml -O                                                                                                
weak: [test]
@msarahan
Copy link
Contributor

msarahan commented Jan 2, 2018

I think what you are seeing here is that there is no output at all for it to pin to, so it's just falling back to the package name. This seems like a bug - there should be the implicit output of the top-level package. I'll try to figure out why this changed.

@github-actions
Copy link

Hi there, thank you for your contribution!

This issue has been automatically locked because it has not had recent activity after being closed.

Please open a new issue if needed.

Thanks!

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Mar 25, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants