Skip to content

Commit

Permalink
TCE-1016 bump docker image to python 3.12 (#240)
Browse files Browse the repository at this point in the history
* bump docker image to python 3.10 and bump packages requirements.txt

* bump orbs circle ci

* bump docker image

* downgrade pylint version due to a dependency problem
  • Loading branch information
DMarinhoCodacy authored Aug 5, 2024
1 parent f036290 commit 2fe62e4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2.1

orbs:
codacy: codacy/base@10.11.1
codacy_plugins_test: codacy/plugins-test@1.1.1
codacy: codacy/base@12.1.3
codacy_plugins_test: codacy/plugins-test@2.0.11

workflows:
version: 2
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9.18-alpine3.19
FROM python:3.12-alpine3.20
COPY requirements.txt requirements.txt
RUN pip3 install --no-cache-dir -r requirements.txt
COPY src/codacy_prospector.py codacy_prospector.py
Expand Down
12 changes: 8 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
mypy==1.9.0
mypy==1.11.1
prospector[with_everything]==1.10.3
jsonpickle==3.0.3
Django==4.2.11
Flask==3.0.2
jsonpickle==3.2.2
Django==5.0.7
Flask==3.0.3
#can't upgrade to the latest version of Pylint due to a mismatch on astroid versions
#requirements-detector 1.2.2 depends on astroid<3.0 and >=2.0
#pylint 3.2.6 depends on astroid<=3.3.0-dev0 and >=3.2.4
pylint==2.17.7

0 comments on commit 2fe62e4

Please sign in to comment.