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

[Fix] image creation via Dockerfile after move to Python 3.11 #1213

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

jstourac
Copy link
Member

@jstourac jstourac commented Feb 18, 2024

This is a followup of [1,2] and fixes image build creation after we moved from Python 3.9 to Python 3.11

On top of that, it also removes dnf cache after all installation is done. There is no change in the sice of resulting image but it's a standard step to do in the Dockerfiles in general.

[1] #1118
[2] 867a617


$ podman run --entrypoint /bin/bash --rm -it 38021db38acc
bash-5.1# poetry install
The currently activated Python version 3.9.18 is not supported by the project (>=3.11.5, <3.12.0).
Trying to find and use a compatible version. 
Using python3.11 (3.11.7)
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: ods-ci (0.1.0)
bash-5.1# poetry run robot --help
The currently activated Python version 3.9.18 is not supported by the project (>=3.11.5, <3.12.0).
Trying to find and use a compatible version. 
Using python3.11 (3.11.7)
Robot Framework -- A generic automation framework

Version:  6.1.1 (Python 3.11.7 on linux)

This is a followup of [1,2] and fixes image build creation after we
moved from Python 3.9 to Python 3.11

On top of that, it also removes dnf cache after all installation is
done. There is no change in the sice of resulting image but it's a
standard step to do in the Dockerfiles in general.

[1] red-hat-data-services#1118
[2] 867a617
@jstourac jstourac added the misc Miscelaneus (PR will be listed in release-notes) label Feb 18, 2024
@jstourac jstourac self-assigned this Feb 18, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
405 0 0 405 100

@jstourac jstourac added the verified This PR has been tested with Jenkins label Feb 18, 2024
@jstourac jstourac requested a review from aloganat February 19, 2024 08:45
@jstourac jstourac merged commit 4520f47 into red-hat-data-services:master Feb 19, 2024
11 checks passed
@jstourac jstourac deleted the docker branch February 19, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc Miscelaneus (PR will be listed in release-notes) verified This PR has been tested with Jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants