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

Swap version bump method for pip #217

Merged
merged 1 commit into from
Aug 26, 2021
Merged

Conversation

awsbmillare
Copy link
Contributor

Issue #, if available:

Fix pip security vulnerability that was not addressed in previous commit.

Description of changes:

There was a faulty validation process that caused this to slip. Only using pip to upgrade pip works, using conda to update pip does not fix security vulnerability

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -103,7 +103,8 @@ RUN echo "conda ${CONDA_PKG_VERSION}" >> /miniconda3/conda-meta/pinned && \
cmake --build . --target mlio-arrow && \
cd ../../src/mlio-py && \
python3 setup.py bdist_wheel && \
conda update -y pip && \
python3 -m pip install typing && \
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you explain why typing is needed here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

apparently upgrading pip now causes it to complain about missing dependency 'typing'. When I install 'typing' first, it no longer complains. I'd rather fix the dependency now to remove the complaint instead of installing pip without 'typing' even if it works fine.

@awsbmillare awsbmillare merged commit 4bcbc35 into master Aug 26, 2021
@awsbmillare awsbmillare deleted the swap_conda_pip_version_bump branch August 26, 2021 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants