From 9d60f2c307a70d7bd65fbfe3cb2a96391fd88bf9 Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Mon, 24 Jan 2022 17:26:16 +0100 Subject: [PATCH] Release 0.5.2 --- .gitignore | 1 + .travis.yml | 2 +- LICENSE | 2 +- changelog.txt | 6 ++++++ doc/conf.py | 11 ++++++----- doc/installation.txt | 8 ++++---- lazyarray.py | 6 +++--- setup.py | 2 +- 8 files changed, 23 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index e8aa8c2..85ad9fd 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ lazyarray.egg-info/ test/__pycache__/ MANIFEST dist/ +doc/_build \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 538bec0..154bac9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,6 @@ matrix: install: - pip install "numpy==$NUMPY_VERSION" "scipy==$SCIPY_VERSION" coverage coveralls pytest pytest-cov script: - - pytest --cov=lazyarray -v -x + - pytest --cov=lazyarray -v after_success: - coveralls diff --git a/LICENSE b/LICENSE index cb1f20a..59ff0ad 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2012-2020, Andrew P. Davison, Joël Chavas and Elodie Legouée (CNRS) +Copyright (c) 2012-2022, Andrew P. Davison, Joël Chavas, Elodie Legouée (CNRS) and Ankur Sinha (UCL) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/changelog.txt b/changelog.txt index 396f866..6e53e8c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -122,6 +122,12 @@ Release 0.5.1 * Fix problem where SciPy was required, not optional +Release 0.5.2 +============= + +* Add support for Python 3.10, remove testing for Python 3.4 and NumPy 1.12 +* Switch from nose to pytest for running tests + .. _`#3`: https://bitbucket.org/apdavison/lazyarray/issue/3/ .. _`#4`: https://bitbucket.org/apdavison/lazyarray/issue/4/ diff --git a/doc/conf.py b/doc/conf.py index 237fd08..c55e4d8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -43,7 +43,8 @@ # General information about the project. project = u'lazyarray' -copyright = u'2012-2021, Andrew P. Davison, Joël Chavas and Elodie Legouée (CNRS)' +contributors = 'Andrew P. Davison, Joël Chavas, Elodie Legouée (CNRS) and Ankur Sinha (UCL)' +copyright = f'2012-2022, {contributors}' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -52,7 +53,7 @@ # The short X.Y version. version = '0.5' # The full version, including alpha/beta/rc tags. -release = '0.5.1' +release = '0.5.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -181,7 +182,7 @@ # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'lazyarray.tex', u'Lazyarray Documentation', - u'Andrew P. Davison, Joël Chavas and Elodie Legouée', 'manual'), + contributors, 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -222,9 +223,9 @@ # Bibliographic Dublin Core info. epub_title = u'lazyarray' -epub_author = u'Andrew P. Davison, Joël Chavas and Elodie Legouée' +epub_author = contributors epub_publisher = u'Andrew P. Davison' -epub_copyright = u'2012-2021, Andrew P. Davison, Joël Chavas and Elodie Legouée' +epub_copyright = copyright # The language of the text. It defaults to the language option # or en if the language is not set. diff --git a/doc/installation.txt b/doc/installation.txt index db53b2c..4c87eac 100644 --- a/doc/installation.txt +++ b/doc/installation.txt @@ -21,19 +21,19 @@ to have administrator privileges on the machine you are installing on). To download and install manually, download: - https://pypi.python.org/packages/source/l/lazyarray/lazyarray-0.5.1.tar.gz + https://pypi.python.org/packages/source/l/lazyarray/lazyarray-0.5.2.tar.gz Then:: - $ tar xzf lazyarray-0.5.1.tar.gz - $ cd lazyarray-0.5.1 + $ tar xzf lazyarray-0.5.2.tar.gz + $ cd lazyarray-0.5.2 $ python setup.py install or:: $ python3 setup.py install -depending on which version of Python you are using. +depending on what your Python interpreter is named. Installing from source diff --git a/lazyarray.py b/lazyarray.py index 7cc0861..9496553 100644 --- a/lazyarray.py +++ b/lazyarray.py @@ -3,7 +3,7 @@ lazyarray is a Python package that provides a lazily-evaluated numerical array class, ``larray``, based on and compatible with NumPy arrays. -Copyright Andrew P. Davison, Joël Chavas and Elodie Legouée (CNRS), 2012-2020 +Copyright Andrew P. Davison, Joël Chavas, Elodie Legouée (CNRS) and Ankur Sinha, 2012-2022 """ import numbers @@ -28,8 +28,8 @@ from collections import Mapping from collections import Iterator - -__version__ = "0.5.1" + +__version__ = "0.5.2" logger = logging.getLogger("lazyarray") diff --git a/setup.py b/setup.py index a661d67..ea5eecc 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='lazyarray', - version='0.5.1', + version='0.5.2', py_modules=['lazyarray'], license='Modified BSD', author="Andrew P. Davison",