Skip to content

Commit

Permalink
Merge pull request #48 from AMecea/bump-deps-python-3.8
Browse files Browse the repository at this point in the history
Bump colibris deps to work with python 3.8
  • Loading branch information
ccrisan authored Sep 2, 2020
2 parents 068b7cb + c941371 commit 74b0af0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion colibris/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from colibris import template


VERSION = '0.9.1'
VERSION = '0.9.2'


def setup():
Expand Down
12 changes: 6 additions & 6 deletions extra/Dockerfile.python-base
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Build with:
# docker build -t colibris/python-base -f Dockerfile.python-base .

FROM python:3.7-slim-stretch
FROM python:3.8-slim-buster as builder

# Make sure we have an up-to-date OS + python installation
RUN apt-get update && apt-get -y upgrade && \
apt-get -y install build-essential git python-dev wait-for-it
RUN apt update && apt -y upgrade && \
apt -y install build-essential python-dev wait-for-it

# Install pipenv and lock down the version for the sake of reproducibility
RUN pip install pipenv==2018.11.26
RUN pip install pipenv==2020.8.13

# Cleanup
RUN apt-get clean autoclean && \
apt-get autoremove --yes && \
RUN apt clean autoclean && \
apt autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tox==3.13.2
pytest==5.0.0
pytest==6.0.1
pycodestyle==2.5.0
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ def find_version():
name='colibris',
version=find_version(),
install_requires=[
'aiohttp>=3.5.0,<=3.5.4',
'aiohttp>=3.5.0,<3.7',
'aiohttp-apispec>=1.5',
'apispec>=3.0.0',
'async-timeout',
'marshmallow>=3.0.0b19,<=3.0.0rc7',
'marshmallow_peewee==2.3.0',
'marshmallow>=3.0.0b19,<3.8',
'marshmallow_peewee>=2.3.0,<3.1',
'peewee>=3.9',
'peewee-migrate==1.1.6',
'peewee-migrate>=1.1.6',
'python-dotenv',
'webargs>=5.2.0,<=5.3.2'
'webargs>=5.2.0,<6.0'
],
url='https://github.com/colibris-framework/colibris',
license='BSD',
Expand Down

0 comments on commit 74b0af0

Please sign in to comment.