Skip to content

Commit

Permalink
Dependency updates and cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartTC committed Jan 8, 2020
1 parent c8c769c commit 02a6812
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Changelog
=========

3.5 (master)
------------
3.5 (2020-01-08)
----------------

- Mobile view improvements.
- Upgraded django-csp dependency to v3.6 that ships with Django 3.0 support.

3.4 (2019-12-08)
----------------
Expand Down
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN echo "\nℹ️ Building Django project with "${BUILD_EXTRAS}" dependencies.
WORKDIR /app

# Upgrade pip, the Image one is quite old.
RUN pip install pip==19.3.1
RUN pip install -U pip

# Copy the dpaste staticfiles to this image
COPY --from=staticfiles /app /app/
Expand All @@ -43,10 +43,6 @@ COPY setup.py setup.cfg ./
COPY dpaste/__init__.py dpaste/
RUN pip install -e .[${BUILD_EXTRAS}]

# Django 3.0 Fix for django-csp, which wasn't released yet
RUN pip uninstall django-csp -y
RUN pip install https://github.com/mozilla/django-csp/archive/master.zip

# Copy the rest of the application code
COPY . .

Expand Down
2 changes: 1 addition & 1 deletion dpaste/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = (3, 4)
VERSION = (3, 5)

__version__ = "{major}.{minor}{rest}".format(
major=VERSION[0],
Expand Down
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ classifiers =
packages = find:
include_package_data = True
zip_safe = False
python_requires = >=3.5
python_requires = >=3.6
install_requires =
# Essential packages
django>=2.2
pygments>=1.6
django-staticinline>=1.0
django-csp>=3.3
dj_database_url==0.5.0
django-csp>=3.6
dj_database_url>=0.5.0

# Additional Lexer
jsx-lexer==0.0.8
jsx-lexer>=0.0.8
misaka>=2.1.0
docutils

Expand Down

0 comments on commit 02a6812

Please sign in to comment.