Skip to content

[CHORE] - Fix NRIS Deploy#3904

Merged
matbusby-fw merged 3 commits into
developfrom
chore-fix-nris-deploy
May 11, 2026
Merged

[CHORE] - Fix NRIS Deploy#3904
matbusby-fw merged 3 commits into
developfrom
chore-fix-nris-deploy

Conversation

@matbusby-fw
Copy link
Copy Markdown
Collaborator

Objective

PR to fix the deployment of NRIS after recent python upgrades
Why are you making this change? Provide a short explanation and/or screenshots

@matbusby-fw matbusby-fw changed the title Pin setuptools version and update pip installation in backend Dockerf… [CHORE] - Fix NRIS Deploy May 11, 2026
alazar-aot
alazar-aot previously approved these changes May 11, 2026
Copy link
Copy Markdown
Collaborator

@simensma-fresh simensma-fresh left a comment

Choose a reason for hiding this comment

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

If possible, let's pin the version in requirements.txt instead, and pin to an exact version 🙃


# Install the requirements
COPY requirements.txt .
ENV PIP_CONSTRAINT=requirements.txt
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

setting PIP_CONSTRAINT to pip forces isolated build environments (which are used when building old packages like cx_Oracle) to honor the version limits defined in the requirements file

@@ -1,5 +1,5 @@
cached_property==1.5.1
setuptools
setuptools<70.0.0
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can we pin it to the version we want? ==
There's been too many vulnerabilities lately that stem from dynamic resolution 😅

@matbusby-fw matbusby-fw merged commit 01b2ffb into develop May 11, 2026
7 checks passed
@matbusby-fw matbusby-fw deleted the chore-fix-nris-deploy branch May 11, 2026 22:42
matbusby-fw pushed a commit that referenced this pull request May 12, 2026
Cherry-picks #3902, #3903, and #3904 from develop — NRIS ETL memory
tracking/logging improvements, setuptools pin, and PIP_CONSTRAINT in
Dockerfiles — which were dropped when the now-search branch was rebased.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

3 participants