Skip to content

Commit

Permalink
Merge pull request #597 from EducationalTestingService/release/2.1
Browse files Browse the repository at this point in the history
SKLL Release 2.1
  • Loading branch information
desilinguist authored Mar 13, 2020
2 parents bc5b003 + 388a6a4 commit 1f7a6fa
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
4 changes: 2 additions & 2 deletions conda-recipe/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
How to create and test conda package.

1. To create the SKLL conda package run:
`conda build -c defaults -c conda-forge --numpy=1.17 skll`
`conda build -c defaults -c conda-forge --numpy=1.17 .`
2. Upload the package to anaconda.org using `anaconda upload --user ets <path>`.
3. Test the package:
`conda create -n foobar -c conda-forge -c ets skll=2.0`
`conda create -n foobar -c conda-forge -c ets skll=2.1`
6 changes: 3 additions & 3 deletions conda-recipe/skll/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: skll
version: 2.0
version: 2.1

source:
path: ../../../skll
Expand Down Expand Up @@ -48,7 +48,7 @@ requirements:
- pandas
- python >=3.6
- ruamel.yaml
- scikit-learn ==0.21.3
- scikit-learn ==0.22.2.post1
- scipy
- seaborn
- setuptools
Expand All @@ -61,7 +61,7 @@ requirements:
- pandas
- python >=3.6
- ruamel.yaml
- scikit-learn ==0.21.3
- scikit-learn ==0.22.2.post1
- seaborn
- scipy
- tabulate
Expand Down
22 changes: 12 additions & 10 deletions doc/internal/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ This document is only meant for the project administrators, not users and develo

e. update the README and this release documentation, if necessary.

3. Build the new conda package using the following command::
3. Run the following command in the ``conda-recipe`` directory to build the conda package::

conda build -c conda-forge --numpy=1.17 skll
conda build -c conda-forge --numpy=1.17 .

4. Upload the package to anaconda.org using ``anaconda upload --user ets <package tarball>``. You will need to have the appropriate permissions for the ``ets`` organization.

Expand All @@ -35,18 +35,20 @@ This document is only meant for the project administrators, not users and develo

9. Then run some SKLL examples or tests from a SKLL working copy. If the TestPyPI package works, then move on to the next step. If it doesn't, figure out why and rebuild and re-upload the package.

10. Upload source package to main PyPI using ``python setup.py sdist upload``.
10. Create pull requests on the `skll-conda-tester <https://github.com/EducationalTestingService/skll-conda-tester/>`_ and `skll-pip-tester <https://github.com/EducationalTestingService/skll-pip-tester/>`_ repositories to test the conda and TestPyPI packages on Linux and Windows.

11. Draft a release on GitHub.
11. Draft a release on GitHub while the Linux and Windows package tester builds are running.

12. Make a pull request with the release branch to be merged into ``master`` and request code review.
12. Once both builds have passed, make a pull request with the release branch to be merged into ``master`` and request code review.

13. Once the Travis (Linux) and Appveyor (Windows) builds for the PR pass and the reviewers approve, merge the release branch into ``master``.
13. Once the build for the PR passes and the reviewers approve, merge the release branch into ``master``.

14. Make sure that the ReadTheDocs build for ``master`` passes.
14. Upload source and wheel packages to PyPI using ``python setup.py sdist upload`` and ``python setup.py bdist_wheel upload``

15. Tag the latest commit in ``master`` with the appropriate release tag and publish the release on GitHub.
15. Make sure that the ReadTheDocs build for ``master`` passes.

16. Send an email around at ETS announcing the release and the changes.
16. Tag the latest commit in ``master`` with the appropriate release tag and publish the release on GitHub.

17. Post release announcement on Twitter/LinkedIn.
17. Send an email around at ETS announcing the release and the changes.

18. Post release announcement on Twitter/LinkedIn.
2 changes: 1 addition & 1 deletion doc/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ types of files:
An example of a human-readable results file for our Titanic experiment is::

Experiment Name: Titanic_Evaluate_Tuned
SKLL Version: 2.0
SKLL Version: 2.1
Training Set: train
Training Set Size: 569
Test Set: dev
Expand Down
2 changes: 1 addition & 1 deletion skll/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
:organization: ETS
"""

__version__ = '2.0'
__version__ = '2.1'
VERSION = tuple(int(x) for x in __version__.split('.'))

0 comments on commit 1f7a6fa

Please sign in to comment.