Skip to content

[ENG-7595] 3.2.1 BE: MFR Update Dockerfile to py3.13 #373

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

Merged

Conversation

mkovalua
Copy link

@mkovalua mkovalua commented Apr 23, 2025

Ticket

https://openscience.atlassian.net/browse/ENG-7595

Purpose

Update Dockerfile to be based off py3.13. May need to update non-python deps, but do not need to update python code. Not necessary to run at the end.

Changes

update MFR Dockerfile and some python packeges to make it possible to create mfr image and containers afterward without errors (it looks like another packages dev-group and related code for MFR will be needed to updated as it was for WB)

previosly

image

image

image

now

image

image

Side effects

QA Notes

Deployment Notes

for 3.13 testing purposes change in osf docker-compose.yml

  mfr_requirements_vol_3_13:
    external: false
  mfr_requirements_local_bin_vol_3_13:
    external: false
  mfr_requirements:
    image: mfr3.13_v1:develop
    command:
      - /bin/bash
      - -c
      - invoke install --develop &&
        (python -m compileall /usr/local/lib/python3.13 || true) &&
        rm -Rf /python3.13/* &&
        cp -Rf -p /usr/local/lib/python3.13 /
    restart: 'no'
    volumes:
      - mfr_requirements_vol_3_13:/python3.13
      - mfr_requirements_local_bin_vol_3_13:/usr/local/bin

  mfr:
    image: mfr3.13_v1:develop
    command: invoke server
    restart: unless-stopped
    ports:
      - 7778:7778
    env_file:
      - .docker-compose.mfr.env
    volumes:
      - mfr_requirements_vol_3_13:/usr/local/lib/python3.13
      - mfr_requirements_local_bin_vol_3_13:/usr/local/bin
      - wb_tmp_vol:/tmp
    stdin_open: true

…ke it possible to create image and mfr-requirements, mfr containers for py3.13 without errors
…ssible to build MFR 3.13 image and create containers afterward
@felliott felliott merged commit f6b1adf into CenterForOpenScience:feature/buff-worms Apr 29, 2025
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