Skip to content

Commit

Permalink
Merge pull request #222 from cognizant-ai-labs/python_310
Browse files Browse the repository at this point in the history
Python 3.10
  • Loading branch information
ofrancon authored May 8, 2023
2 parents d23875e + d0dcf14 commit 5054288
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# DESCRIPTION: Docker file for covid-xprize
# Created to make CI with Codefresh easier

FROM python:3.6-slim
FROM python:3.10-slim

ENV APPS_HOME /usr/local/cognizant
ENV COVID_APP_HOME ${APPS_HOME}/covid-xprize
Expand Down
10 changes: 5 additions & 5 deletions codefresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ steps:
start_clean:
title: Clean up CodeFresh volume
# Images come from hierarchy at: https://github.com/docker-library/python
image: python:3.6-slim
image: python:3.10-slim
commands:
- rm -rf '${{CF_REPO_NAME}}'

Expand All @@ -15,7 +15,7 @@ steps:
revision: '${{CF_REVISION}}'
git: github

covid-prize-build:
covid-xprize-build:
title: Build covid-xprize Docker image
image_name: intermediate
type: build
Expand All @@ -25,14 +25,14 @@ steps:

tests:
title: Run unit tests
image: ${{covid-prize-build}}
image: ${{covid-xprize-build}}
description: Run unit tests (nosetests)
working_directory: ${{CF_REPO_NAME}}
commands:
- nosetests -v
- pytest --verbose

end_clean:
title: Clean up CodeFresh volume
image: python:3.6-slim
image: python:3.10-slim
commands:
- rm -rf '${{CF_REPO_NAME}}'
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ notebook==6.5.3
scikit-learn==1.2.2
scipy==1.10.1
tensorflow==2.11.1
keras==2.12.0
keras==2.11.0
neat-python==0.92
h5py==3.8.0

# plotting
plotly==5.13.1
matplotlib==3.7.1

# tests
pytest==7.3.1

0 comments on commit 5054288

Please sign in to comment.