-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Drop cos6 builds #6070
Drop cos6 builds #6070
Conversation
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 ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talk about an anti-climactic finish for the immense journey that cos6 has had in conda-forge... 😆
Do we have a task list in some issue for this already?
|
AFAIU the idea was to drop the sysroot repodata hacks completely. |
cc @beckermr (in case you have thoughts 🙂) |
That would break non-conda-build users of our compilers since they would be getting 2.28 and would not be able to run executables made with our compilers if they have |
That is a long term goal, yes. |
This is Matt's comment I referenced:
We could teach them to install
Yeah, we're set for that in conda-forge now (modulo old recipes, but the linter warns on misuse at least). For outside use, we should document what support we provide. Given that we have no stated support for this, we IMO shouldn't be shy about asking users that want to manually install our production compilers (rather than |
Even if we don't drop the hacks, I think we need to update them to make sure cos7 is highest priority. |
Not really. The compilers are pulled in with |
Any reason we couldn't make those packages run-depend on |
Then you wouldn't be able to change |
We could introduce the sysroot dependence only for the compilers metapackage maybe? |
It could work if we had wrappers for each sysroot version. Not saying this packaging complexity is desirable, but perhaps it's still better than indefinitely keeping the track_features: outputs:
- name: _r-base # same as current r-base
...
{% for glibc_ver in ["2.17", "2.28"] %}
- name: r-base
build:
string: ...{{ glibc_ver }}...
requirements:
run:
- {{ pin_subpackage("_r-base", exact=True) }}
- sysroot_{{ target_platform }} {{ glibc_ver }} # [linux]
{% endfor %}
That makes sense in any case IMO, but if we don't do contortions along the lines of the above, it seems we cannot get rid of the need to weigh down the newer sysroot. |
Ah sorry. We should be clear. There are hacks specifically for current_repodata.json. I think we should drop those. We still need the features etc unless always use stdlib which has other issues. |
I definitely wanted to drop all of the hacks but Isuru is right. Just keeping build number and the track features is manageable. |
How about we merge this PR and track other things in conda-forge/conda-forge.github.io#1436? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One problem I noticed.
- 2.12 # [linux64 and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos6"] | ||
- 2.17 # [linux64 and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos7"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing these lines will break the ability to set the linux version in smithy via os_version
Maybe we keep them and set the default to cos7?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean you want to keep supporting cos6
in some feedstocks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean you want to keep supporting cos6 in some feedstocks?
Right. there are two things. First yes, we no longer officially support cos6.
Second, are we deprecating os_version
in smithy? If not, we need to keep the selectors here to account for smithy setting DEFAULT_LINUX_VERSION
like this:
# set the environment variable for OS version
if platform == "linux":
ver = forge_config["os_version"][f"{platform}_{arch}"]
if ver:
os.environ["DEFAULT_LINUX_VERSION"] = ver
We probably need to add them to add support for cos8 or higher, but in another PR maybe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second, are we deprecating os_version in smithy? If not, we need to keep the selectors here to account for smithy setting DEFAULT_LINUX_VERSION like this:
We should. As I mentioned for cos8, we should change cdt_name
to be conda
and apply that for cos7
as well. Then we get rid of DEFAULT_LINUX_VERSION
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. Then lgtm on this and we can move the deprecation discussion to smithy.
Planning to merge this in ~24h if there are no further comments. |
Let's do this during the week (not the weekend) so people are around to fix any issues that come up |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)