Skip to content

Commit

Permalink
Merge pull request #598 from lognaturel/release
Browse files Browse the repository at this point in the history
Prepare for v1.9.0 release
  • Loading branch information
yanokwa authored Mar 16, 2022
2 parents f49cdae + 768c5fc commit 9d20bfe
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
9 changes: 9 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
Pyxform Changelog

# v1.9.0, 2022-03-16

* https://github.com/XLSForm/pyxform/pull/577 Add value and label params to select_.._from_file
* Lindsay Stevens @lindsay-stevens (ODK)
* https://github.com/XLSForm/pyxform/pull/594 Add support for geojson external files
* Hélène Martin @lognaturel (ODK)
* https://github.com/XLSForm/pyxform/pull/596 Use read-only openpyxl representation to reduce memory usage
* Hélène Martin @lognaturel (ODK)

# v1.8.0, 2022-02-15

* Improve xml hierarchy test methods, refactor test_trigger.py tests to use them by @lindsay-stevens in #570
Expand Down
22 changes: 14 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
===============
pyxform v1.8.0
pyxform v1.9.0
===============

|python| |black|
Expand Down Expand Up @@ -126,27 +126,33 @@ Releasing pyxform
5. Update ``CHANGES.txt`` with the text of the draft release.
6. Update ``README.rst``, ``setup.py``, ``pyxform/__init__.py`` with the new release version number.
7. Commit, push the branch, and initiate a pull request. Wait for tests to pass, then merge the PR.
8. In a clean new release only directory, checkout master.
9. Create a new virtualenv in this directory to ensure a clean Python environment::
8. Tag the release and it will automatically be published

Manually releasing
===================
Releases are now automatic. These instructions are provided for forks or for a future change in process.

1. In a clean new release only directory, check out master.
2. Create a new virtualenv in this directory to ensure a clean Python environment::

/usr/local/bin/python3.8 -m venv pyxform-release
. pyxform-release/bin/activate

10. Install the production and packaging requirements::
3. Install the production and packaging requirements::

pip install -e .
pip install wheel twine

11. Cleanup build and dist folders::
4. Clean up build and dist folders::

rm -rf build dist pyxform.egg-info

12. Prepare ``sdist`` and ``bdist_wheel`` distributions::
5. Prepare ``sdist`` and ``bdist_wheel`` distributions::

python setup.py sdist bdist_wheel

13. Publish release to PyPI with ``twine``::
6. Publish release to PyPI with ``twine``::

twine upload dist/pyxform-*-py3-none-any.whl dist/pyxform-*.tar.gz

14. Tag the GitHub release and publish it.
7. Tag the GitHub release and publish it.
2 changes: 1 addition & 1 deletion pyxform/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Collect easy.
"""

__version__ = "1.8.0"
__version__ = "1.9.0"

from pyxform.builder import (
SurveyElementBuilder,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="pyxform",
version="1.8.0",
version="1.9.0",
author="github.com/xlsform",
author_email="info@xlsform.org",
packages=find_packages(exclude=["tests", "tests.*"]),
Expand Down

0 comments on commit 9d20bfe

Please sign in to comment.