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

V0.6.2 #4

Merged
merged 26 commits into from
Mar 20, 2024
Merged

V0.6.2 #4

merged 26 commits into from
Mar 20, 2024

Conversation

SC426
Copy link

@SC426 SC426 commented Mar 8, 2024

y-py 0.6.2

Destination channel: defaults

Links

Explanation of changes:

recipe/meta.yaml Outdated Show resolved Hide resolved
Comment on lines 12 to 13
rust_compiler_version:
- 1.76.0

Choose a reason for hiding this comment

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

Suggested change
rust_compiler_version:
- 1.76.0

This is already defined at line 3 and 4.

recipe/meta.yaml Outdated

build:
run_exports: # [osx and x86_64]
strong_constrains: # [osx and x86_64]
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.12") }} # [osx and x86_64]

Choose a reason for hiding this comment

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

Do we really need this? You'll get these for free if you use your latest builds for rust and rust-activation if I'm not mistaken.

Copy link

@Jrice1317 Jrice1317 Mar 18, 2024

Choose a reason for hiding this comment

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

I was just about to ask if this was required as well

recipe/meta.yaml Outdated
Comment on lines 35 to 36
- wheel
- setuptools

Choose a reason for hiding this comment

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

Suggested change
- wheel
- setuptools

setuptools and wheel are not needed when using maturin.

recipe/meta.yaml Outdated
run:
# this is needed otherwise import y_py in tests fails with ModuleNotFoundError
- python
- __osx >=10.12 # [osx and x86_64]

Choose a reason for hiding this comment

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

Is this needed if the cbc.yaml has 10.12 listed for osx?

@Jrice1317
Copy link

I noticed rust and rust-activation are both listed in the PR's description, but it seems a lot of what is done in this PR would be solved when rust is uploaded. Is that correct or am I missing something regarding the order of these PRs?

@SC426
Copy link
Author

SC426 commented Mar 18, 2024

I noticed rust and rust-activation are both listed in the PR's description, but it seems a lot of what is done in this PR would be solved when rust is uploaded. Is that correct or am I missing something regarding the order of these PRs?

They're linked here: https://github.com/AnacondaRecipes/y-py-feedstock/pull/4/files#diff-ff61408cdc05bc9667deeadb55e4aaceb1371972076b6bf6934f9008920f2bd2

@SC426 SC426 requested a review from cbouss March 18, 2024 19:50
@JeanChristopheMorinPerso

https://staging.continuum.io/package/prefect/fs/y-py-feedstock/pr4/7c3f648/osx-64/y-py-0.6.2-py310h7854f77_0.conda shows that the osx-64 packages pins __osx >=10.9. This seems wrong to me... Shouldn't it be 10.12?

@SC426 SC426 closed this Mar 18, 2024
@SC426 SC426 reopened this Mar 18, 2024
@SC426
Copy link
Author

SC426 commented Mar 18, 2024

https://staging.continuum.io/package/prefect/fs/y-py-feedstock/pr4/7c3f648/osx-64/y-py-0.6.2-py310h7854f77_0.conda shows that the osx-64 packages pins __osx >=10.9. This seems wrong to me... Shouldn't it be 10.12?

What was it before I removed the constraints? Tried to check myself but couldn't see.

@anaconda-pkg-build
Copy link

Linter check found the following problems: ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_8as8sohmzd/clone` failed. (See above for error) The following problems have been found:

===== ERRORS =====

  • clone/recipe/meta.yaml:31: missing_wheel: For pypi packages, wheel should be present in the host section
    ===== Final Report: =====
    1 Error and 0 Warnings were found

@JeanChristopheMorinPerso

Actually, that's the constraint, not dep. Though, I would have expected __osx to be in the dependencies (in https://staging.continuum.io/package/prefect/fs/y-py-feedstock/pr4/7c3f648/osx-64/y-py-0.6.2-py310h7854f77_0.conda).

Copy link

@Jrice1317 Jrice1317 left a comment

Choose a reason for hiding this comment

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

Given everything builds successfully, LGTM!

@JeanChristopheMorinPerso

Ah, I know what that constraints thing is. It's basically the run_constrained. Anyway, the version of __osx injected is wrong.

abs.yaml Outdated Show resolved Hide resolved
@cbouss
Copy link

cbouss commented Mar 18, 2024

Ah, I know what that constraints thing is. It's basically the run_constrained. Anyway, the version of __osx injected is wrong.

It might by the contrains export from the rust activation feedstock not being set because of two build sections.
We should rebuild from the latest commit of rust-activation and check the end result. But for now the osx-64 workers are busy..

@anaconda-pkg-build
Copy link

Linter check found the following problems: ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_cd6x37k6gn/clone` failed. (See above for error) The following problems have been found:

===== ERRORS =====

  • clone/recipe/meta.yaml:31: missing_wheel: For pypi packages, wheel should be present in the host section
    ===== Final Report: =====
    1 Error and 0 Warnings were found

@SC426
Copy link
Author

SC426 commented Mar 18, 2024

@JeanChristopheMorinPerso abd @cbouss the latest builds just finished.

@JeanChristopheMorinPerso

Still looks wrong to me: https://staging.continuum.io/package/prefect/fs/y-py-feedstock/pr4/814e88b/osx-64/y-py-0.6.2-py310h7854f77_0.conda.

@anaconda-pkg-build
Copy link

Linter check found the following problems: ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_72oa97vohw/clone` failed. (See above for error) The following problems have been found:

===== ERRORS =====

  • clone/recipe/meta.yaml:31: missing_wheel: For pypi packages, wheel should be present in the host section
    ===== Final Report: =====
    1 Error and 0 Warnings were found

@cbouss
Copy link

cbouss commented Mar 19, 2024

4c5c04d

Now it's fine, we had conda_build_config.yaml misplaced in rust-activation.

@anaconda-pkg-build
Copy link

Linter check found the following problems: ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_57q5jp7d84/clone` failed. (See above for error) The following problems have been found:

===== ERRORS =====

  • clone/recipe/meta.yaml:31: missing_wheel: For pypi packages, wheel should be present in the host section
    ===== Final Report: =====
    1 Error and 0 Warnings were found

@SC426 SC426 merged commit c60b7ad into main Mar 20, 2024
4 of 8 checks passed
@SC426 SC426 deleted the v0.6.2 branch March 20, 2024 15:14
@anaconda-pkg-build
Copy link

Linter check found the following problems: ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_508l_838n7/clone` failed. (See above for error) The following problems have been found:

===== ERRORS =====

  • clone/recipe/meta.yaml:31: missing_wheel: For pypi packages, wheel should be present in the host section
    ===== Final Report: =====
    1 Error and 0 Warnings were found

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