Skip to content

Commit

Permalink
Bump version to 2.1.0
Browse files Browse the repository at this point in the history
- Update CONTRIBUTORS.
- Add script for building and publishing.
- Add PyPI classifiers for Django.
  • Loading branch information
nickpresta committed Mar 30, 2020
1 parent 15bd289 commit f01bba3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

## 2.1.0 - March 30, 2020

- Add support for Django class serialization by adding a `@deconstruct` decorator to `InMemoryStorage`
- See: https://docs.djangoproject.com/en/3.0/topics/migrations/#adding-a-deconstruct-method
- Adds an `__eq__` method to `InMemoryStorage` for Django migrations.
- Adds the `path` argument when `PathDoesNotExist` is raised, which helps with stack traces.

## 2.0.0 - December 17, 2019

- Stop testing Python 2.6, 3.2, 3.3, 3.4.
Expand Down
10 changes: 1 addition & 9 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
# Keep the file alphabetically sorted

Brian Grohe
Charlie Denton
Mikhail Porokhovnichenko
Piper Merriam
Sebastian Rautila
Simon Luijk
Zbigniew Siciarz
See https://github.com/waveaccounting/dj-inmemorystorage/graphs/contributors
5 changes: 5 additions & 0 deletions scripts/build-and-publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

rm -rf build/ dist/
python setup.py sdist bdist_wheel
twine upload --repository dj-inmemorystorage dist/*
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
setup(
name="dj-inmemorystorage",
description="A non-persistent in-memory data storage backend for Django.",
version="2.0.0",
version="2.1.0",
url="https://github.com/waveaccounting/dj-inmemorystorage",
license='BSD',
long_description=open('README.md').read(),
Expand Down Expand Up @@ -38,5 +38,10 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
]
)

0 comments on commit f01bba3

Please sign in to comment.