Skip to content

Commit f7e8729

Browse files
author
Bas van Beek
committed
AssertionLib 1.0.0
1 parent c60078c commit f7e8729

File tree

9 files changed

+259
-191
lines changed

9 files changed

+259
-191
lines changed

CHANGELOG.rst

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ Change Log
55
All notable changes to this project will be documented in this file.
66
This project adheres to `Semantic Versioning <http://semver.org/>`_.
77

8+
1.0.0
9+
*****
10+
* Changed the license from lgpl-3.0 to apache-2.0.
11+
* Added tests for `AbstractDataClass`.
12+
* Release of version 1.0.0.
13+
14+
815
0.1.5
916
*****
1017
* Added the `AssertionManager.shape_eq()` method for comparing array shapes.

CITATION.cff

+10-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@ authors:
99
orcid: "https://orcid.org/0000-0003-2463-6559"
1010

1111
keywords:
12-
- python
13-
version: '0.0.1'
14-
date-released: 2019-10-10
12+
- assertion
13+
- assertions
14+
- assertion-library
15+
- python-3
16+
- python-3-6
17+
- python-3-7
18+
- python-3-8
19+
version: '1.0.0'
20+
date-released: 2019-11-19
1521
repository-code: https://github.com/nlesc-nano/AssertionLib
16-
license: "LGPL-3.0"
22+
license: "apache-2.0"

CONTRIBUTING.rst

+13-13
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,38 @@ We welcome any kind of contribution to our software, from simple comment or ques
77
A contribution can be one of the following cases:
88

99
1. you have a question;
10-
1. you think you may have found a bug (including unexpected behavior);
11-
1. you want to make some kind of change to the code base (e.g. to fix a bug, to add a new feature, to update documentation).
10+
2. you think you may have found a bug (including unexpected behavior);
11+
3. you want to make some kind of change to the code base (e.g. to fix a bug, to add a new feature, to update documentation).
1212

1313
The sections below outline the steps in each case.
1414

1515
You have a question
1616
*******************
1717

1818
1. use the search functionality `here <https://github.com/nlesc-nano/AssertionLib/issues>`__ to see if someone already filed the same issue;
19-
1. if your issue search did not yield any relevant results, make a new issue;
20-
1. apply the "Question" label; apply other labels when relevant.
19+
2. if your issue search did not yield any relevant results, make a new issue;
20+
3. apply the "Question" label; apply other labels when relevant.
2121

2222
You think you may have found a bug
2323
**********************************
2424

2525
1. use the search functionality `here <https://github.com/nlesc-nano/AssertionLib/issues>`__ to see if someone already filed the same issue;
26-
1. if your issue search did not yield any relevant results, make a new issue, making sure to provide enough information to the rest of the community to understand the cause and context of the problem. Depending on the issue, you may want to include:
26+
2. if your issue search did not yield any relevant results, make a new issue, making sure to provide enough information to the rest of the community to understand the cause and context of the problem. Depending on the issue, you may want to include:
2727
- the `SHA hashcode <https://help.github.com/articles/autolinked-references-and-urls/#commit-shas>`_ of the commit that is causing your problem;
2828
- some identifying information (name and version number) for dependencies you're using;
2929
- information about the operating system;
30-
1. apply relevant labels to the newly created issue.
30+
3. apply relevant labels to the newly created issue.
3131

3232
You want to make some kind of change to the code base
3333
*****************************************************
3434

3535
1. (**important**) announce your plan to the rest of the community *before you start working*. This announcement should be in the form of a (new) issue;
36-
1. (**important**) wait until some kind of consensus is reached about your idea being a good idea;
37-
1. if needed, fork the repository to your own Github profile and create your own feature branch off of the latest master commit. While working on your feature branch, make sure to stay up to date with the master branch by pulling in changes, possibly from the 'upstream' repository (follow the instructions `here <https://help.github.com/articles/configuring-a-remote-for-a-fork/>`__ and `here <https://help.github.com/articles/syncing-a-fork/>`__);
38-
1. make sure the existing tests still work by running ``python setup.py test``;
39-
1. add your own tests (if necessary);
40-
1. update or expand the documentation;
41-
1. `push <http://rogerdudler.github.io/git-guide/>`_ your feature branch to (your fork of) the Compound Attachment/Analysis Tool repository on GitHub;
42-
1. create the pull request, e.g. following the instructions `here <https://help.github.com/articles/creating-a-pull-request/>`__.
36+
2. (**important**) wait until some kind of consensus is reached about your idea being a good idea;
37+
3. if needed, fork the repository to your own Github profile and create your own feature branch off of the latest master commit. While working on your feature branch, make sure to stay up to date with the master branch by pulling in changes, possibly from the 'upstream' repository (follow the instructions `here <https://help.github.com/articles/configuring-a-remote-for-a-fork/>`__ and `here <https://help.github.com/articles/syncing-a-fork/>`__);
38+
4. make sure the existing tests still work by running ``python setup.py test``;
39+
5. add your own tests (if necessary);
40+
6. update or expand the documentation;
41+
7. `push <http://rogerdudler.github.io/git-guide/>`_ your feature branch to (your fork of) the Compound Attachment/Analysis Tool repository on GitHub;
42+
8. create the pull request, e.g. following the instructions `here <https://help.github.com/articles/creating-a-pull-request/>`__.
4343

4444
In case you feel like you've made a valuable contribution, but you don't know how to write or run tests for it, or how to generate the documentation: don't let this discourage you from making the pull request; we can help you! Just go ahead and submit the pull request, but keep in mind that you might be asked to append additional commits to your pull request.

LICENSE

-165
This file was deleted.

README.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
##################
17-
AssertionLib 0.1.5
17+
AssertionLib 1.0.0
1818
##################
1919

2020
A package for performing assertions and providing informative exception messages.
@@ -25,7 +25,8 @@ Installation
2525

2626
AssertionLib has no external dependencies and can be installed as following:
2727

28-
* ``pip install git+https://github.com/nlesc-nano/AssertionLib``
28+
* PyPi: ``pip install AssertionLib``
29+
* GitHub: ``pip install git+https://github.com/nlesc-nano/AssertionLib``
2930

3031

3132
Usage

assertionlib/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.1.5'
1+
__version__ = '1.0.0'

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
sphinx>=2.0
22
sphinx_rtd_theme
3-
sphinx-autodoc-typehints
43
numpy

setup.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
package_dir={'assertionlib': 'assertionlib'},
2828
package_data={'assertionlib': ['*.rst']},
2929
include_package_data=True,
30-
license='GNU Lesser General Public License v3 or later',
30+
license='Apache Software License',
3131
zip_safe=False,
3232
keywords=[
3333
'assertion',
@@ -39,17 +39,17 @@
3939
'python-3-8'
4040
],
4141
classifiers=[
42-
'Development Status :: 4 - Beta',
42+
'Development Status :: 5 - Production/Stable',
4343
'Intended Audience :: Developers',
4444
'Topic :: Software Development :: Libraries',
45-
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
45+
'License :: OSI Approved :: Apache Software License',
4646
'Natural Language :: English',
4747
'Programming Language :: Python :: 3.6',
4848
'Programming Language :: Python :: 3.7',
4949
'Programming Language :: Python :: 3.8'
5050
],
51-
test_suite='tests',
5251
python_requires='>=3.6',
52+
test_suite='tests',
5353
tests_require=[
5454
'pytest',
5555
'pytest-cov',
@@ -58,6 +58,6 @@
5858
],
5959
extras_require={
6060
'test': ['pytest', 'pytest-cov', 'pycodestyle', 'numpy'],
61-
'doc': ['sphinx>=2.0', 'sphinx_rtd_theme', 'sphinx-autodoc-typehints']
61+
'doc': ['sphinx>=2.0', 'sphinx_rtd_theme']
6262
}
6363
)

0 commit comments

Comments
 (0)