Skip to content

Commit 5054288

Browse files
authored
Merge pull request #222 from cognizant-ai-labs/python_310
Python 3.10
2 parents d23875e + d0dcf14 commit 5054288

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# DESCRIPTION: Docker file for covid-xprize
33
# Created to make CI with Codefresh easier
44

5-
FROM python:3.6-slim
5+
FROM python:3.10-slim
66

77
ENV APPS_HOME /usr/local/cognizant
88
ENV COVID_APP_HOME ${APPS_HOME}/covid-xprize

codefresh.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ steps:
44
start_clean:
55
title: Clean up CodeFresh volume
66
# Images come from hierarchy at: https://github.com/docker-library/python
7-
image: python:3.6-slim
7+
image: python:3.10-slim
88
commands:
99
- rm -rf '${{CF_REPO_NAME}}'
1010

@@ -15,7 +15,7 @@ steps:
1515
revision: '${{CF_REVISION}}'
1616
git: github
1717

18-
covid-prize-build:
18+
covid-xprize-build:
1919
title: Build covid-xprize Docker image
2020
image_name: intermediate
2121
type: build
@@ -25,14 +25,14 @@ steps:
2525

2626
tests:
2727
title: Run unit tests
28-
image: ${{covid-prize-build}}
28+
image: ${{covid-xprize-build}}
2929
description: Run unit tests (nosetests)
3030
working_directory: ${{CF_REPO_NAME}}
3131
commands:
32-
- nosetests -v
32+
- pytest --verbose
3333

3434
end_clean:
3535
title: Clean up CodeFresh volume
36-
image: python:3.6-slim
36+
image: python:3.10-slim
3737
commands:
3838
- rm -rf '${{CF_REPO_NAME}}'

requirements.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ notebook==6.5.3
66
scikit-learn==1.2.2
77
scipy==1.10.1
88
tensorflow==2.11.1
9-
keras==2.12.0
9+
keras==2.11.0
1010
neat-python==0.92
1111
h5py==3.8.0
1212

1313
# plotting
1414
plotly==5.13.1
1515
matplotlib==3.7.1
16+
17+
# tests
18+
pytest==7.3.1

0 commit comments

Comments
 (0)