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

[anaconda] Rework patch for GHSA-94vc-p8w7-5p49 #815

Closed
wants to merge 3 commits into from
Closed

[anaconda] Rework patch for GHSA-94vc-p8w7-5p49 #815

wants to merge 3 commits into from

Conversation

alexander-smolyakov
Copy link
Contributor

@alexander-smolyakov alexander-smolyakov commented Oct 18, 2023

Devcontainer name:

  • anaconda

Description:

The previous patch (#807) was reverted in #812 due to the following error:

ERROR: Could not build wheels for imagecodecs, which is required to install pyproject.toml-based projects

It seems the issue could be related to old versions of setuptools and wheel packages. To address this issue, the patch was reworked to update versions of setuptools and wheel packages along with imagecodecs.

Changelog:

  • Updated setuptools and wheel to avoid potential issues with installing newer versions of packages;

  • Bumped imagecodecs package version to address GHSA-94vc-p8w7-5p49;

  • Added test to verify imagecodecs minimum version (Minimum package version set to 2023.9.18 which fixes GHSA-94vc-p8w7-5p49);

Checklist:

  • Checked that applied changes work as expected

- Update `setuptools` and `wheel` to avoid potential issues with installing newer versions of packages;
- Bump "imagecodecs" version;
- Add test for "imagecodecs" minimum version;
@alexander-smolyakov alexander-smolyakov requested a review from a team as a code owner October 18, 2023 13:46
RUN conda install \
RUN conda install \
# Update "setuptools" and "wheel" to avoid potential issues with installing newer versions of packages
setuptools=68.0.0 \
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to pin setuptools and wheel to this specific version for making it compatible with imagecodecs ?
If so, can we add a note that imagecodecs is dependent on them, so that we don't unpin it accidentally?

@samruddhikhandale
Copy link
Member

Unfortunately, the image build is still failing with these changes^ . See https://github.com/devcontainers/images/actions/runs/6565254242/job/17833552777#step:6:2240

@alexander-smolyakov alexander-smolyakov closed this by deleting the head repository Dec 14, 2023
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.

2 participants