You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. To create the SKLL conda package run: `conda build -c conda-forge .`
4
+
5
+
2. This will create python 3.7, 3.8, and 3.9 packages for your native platform, e.g., `osx-64`.
6
+
7
+
3. Convert these built packages for the other two platforms. For example, if you ran the above command on macOS, run `conda convert -p linux-64 -p win-64 <packages files>`, where `<packages_files>` are the package files that were created in step 2.
8
+
9
+
4. Upload all 9 package files (3 Python versions x 3 platforms) to anaconda.org using `anaconda upload --user ets <path_to_files>`.
10
+
11
+
5. Test the package: `conda create -n foobar -c conda-forge -c ets python=3.9 skll`. This should _always_ install the latest package.
Copy file name to clipboardExpand all lines: doc/internal/release.rst
+15-19
Original file line number
Diff line number
Diff line change
@@ -17,38 +17,34 @@ This document is only meant for the project administrators, not users and develo
17
17
18
18
e. update the README and this release documentation, if necessary.
19
19
20
-
3. Run the following command in the ``conda-recipe`` directory to build the conda package::
20
+
3. Build and upload the conda packages by following instructions in ``conda-recipe/README.md``.
21
21
22
-
conda build -c conda-forge --numpy=1.17 .
22
+
4. Build the PyPI source distribution using ``python setup.py sdist build``.
23
23
24
-
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.
24
+
5. Upload the source distribution to TestPyPI using ``twine upload --repository testpypi dist/*``. You will need to have the ``twine`` package installed and set up your ``$HOME/.pypirc`` correctly. See details `here <https://packaging.python.org/guides/using-testpypi/>`__.
25
25
26
-
5. Build the PyPI source distribution using ``python setup.py sdist build``.
26
+
6. Test the conda package by creating a new environment on different platforms with this package installed and then running SKLL examples or tests from a SKLL working copy. If the package works, then move on to the next step. If it doesn't, figure out why and rebuild and re-upload the package.
27
27
28
-
6. Upload the source distribution to TestPyPI using ``twine upload --repository testpypi dist/*``. You will need to have the ``twine`` package installed and set up your ``$HOME/.pypirc`` correctly. See details `here <https://packaging.python.org/guides/using-testpypi/>`__.
29
-
30
-
7. Test the conda package by creating a new environment on different platforms with this package installed and then running SKLL examples or tests from a SKLL working copy. If the package works, then move on to the next step. If it doesn't, figure out why and rebuild and re-upload the package.
31
-
32
-
8. Test the TestPyPI package by installing it as follows::
28
+
7. Test the TestPyPI package by installing it as follows::
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.
32
+
8. 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.
37
33
38
-
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.
34
+
9. 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.
39
35
40
-
11. Draft a release on GitHub while the Linux and Windows package tester builds are running.
36
+
10. Draft a release on GitHub while the Linux and Windows package tester builds are running.
41
37
42
-
12. Once both builds have passed, make a pull request with the release branch to be merged into ``main`` and request code review.
38
+
11. Once both builds have passed, make a pull request with the release branch to be merged into ``main`` and request code review.
43
39
44
-
13. Once the build for the PR passes and the reviewers approve, merge the release branch into ``main``.
40
+
12. Once the build for the PR passes and the reviewers approve, merge the release branch into ``main``.
45
41
46
-
14. Upload source and wheel packages to PyPI using ``python setup.py sdist upload`` and ``python setup.py bdist_wheel upload``
42
+
13. Upload source and wheel packages to PyPI using ``python setup.py sdist upload`` and ``python setup.py bdist_wheel upload``
47
43
48
-
15. Make sure that the ReadTheDocs build for ``main`` passes.
44
+
14. Make sure that the ReadTheDocs build for ``main`` passes.
49
45
50
-
16. Tag the latest commit in ``main`` with the appropriate release tag and publish the release on GitHub.
46
+
15. Tag the latest commit in ``main`` with the appropriate release tag and publish the release on GitHub.
51
47
52
-
17. Send an email around at ETS announcing the release and the changes.
48
+
16. Send an email around at ETS announcing the release and the changes.
53
49
54
-
18. Post release announcement on Twitter/LinkedIn.
50
+
17. Post release announcement on Twitter/LinkedIn.
0 commit comments