Skip to content

Commit

Permalink
prepare for 0.7.0 (#45)
Browse files Browse the repository at this point in the history
* prepare for release

* release 0.7.0

* change primary branch
  • Loading branch information
shapiromatron committed Jun 2, 2021
1 parent f3ecbe5 commit 6daf09f
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:

backend:
name: lint + test
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
max-parallel: 4
Expand All @@ -20,7 +20,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: install
run: |
python -m pip install --upgrade setuptools setuptools_scm wheel pip
python -m pip install --upgrade setuptools wheel pip
python ./setup.py bdist_wheel
export WHLNAME="./dist/rispy-0.CI-py3-none-any.whl"
mv ./dist/*.whl $WHLNAME
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# python/editors
/rispy/version.py

*.codeintel
*.egg
*.eggs
Expand Down
13 changes: 13 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
History
=======

v0.7.0 (2021-06-01)
-------------------

New features:

* Allow for subclassing of readers and writers for custom implementations and greater flexibility; these custom classes can be used in all high-level commands (load/loads/dump/dumps) (@scott-8 #36)
* Add encoding param to rispy.load if custom file encoding is needed (@scott-8 #36)
* Add convenience method to pretty-print reference type (@scott-8 #37)
* Updated setup.py and build tooling to use setup.cfg; use wheel for testing in github actions (@KOLANICH #34)
* Relicense to MIT (@shapiromatron #43)
* Support python versions 3.6, 3.7, 3.8, and 3.9 (@shapiromatron #44)
* Changed primary branch from `master` to `main`

v0.6.0 (2020-11-04)
-------------------

Expand Down
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
[build-system]
requires = ["setuptools>=43", "wheel", "setuptools_scm[toml]>=3.4"]
requires = ["setuptools>=43", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "rispy/version.py"
write_to_template = "__version__ = \"{version}\"\n"

[tool.black]
line-length = 98
target-version = ['py36', 'py37', 'py38', 'py39']
Expand Down
3 changes: 2 additions & 1 deletion rispy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

from .config import LIST_TYPE_TAGS, TAG_KEY_MAPPING, TYPE_OF_REFERENCE_MAPPING
from .parser import load, loads, BaseParser, RisParser, WokParser
from .version import __version__
from .writer import dump, dumps, BaseWriter, RisWriter

__version__ = "0.7.0"

__all__ = [
"__version__",
"LIST_TYPE_TAGS",
Expand Down
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,24 @@ name = rispy
author = Maik Derstappen (MrTango)
author_email = [email protected]
license = MIT
version = attr: rispy.__version__
description = A Python reader/writer of RIS reference files
keywords = RIS, parser, bibliograph
url = https://github.com/mrtango/rispy
long_description = file: README.rst
long_description_content_type = text/x-rst
classifiers =
Intended Audience :: Developers
Topic :: Software Development :: Build Tools
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

[options]
python_requires = >=3.6
packages = find:
setup_requires = setuptools>=43; wheel; toml; setuptools_scm>=3.4

[options.packages.find]
exclude = contrib; docs; tests*
Expand Down

0 comments on commit 6daf09f

Please sign in to comment.