https://github.com/zeehio/parmap
Easy to use map and starmap python equivalents
https://github.com/zeehio/parmap
parallelization python python-2 python-3
Last synced: 3 months ago
JSON representation
Easy to use map and starmap python equivalents
- Host: GitHub
- URL: https://github.com/zeehio/parmap
- Owner: zeehio
- License: apache-2.0
- Created: 2014-01-22T18:17:40.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2023-10-03T12:57:24.000Z (over 1 year ago)
- Last Synced: 2025-03-30T01:11:17.524Z (3 months ago)
- Topics: parallelization, python, python-2, python-3
- Language: Python
- Homepage:
- Size: 123 KB
- Stars: 142
- Watchers: 4
- Forks: 10
- Open Issues: 7
-
Metadata Files:
- Readme: README-new-release.rst
- Changelog: ChangeLog
- License: LICENSE.txt
Awesome Lists containing this project
README
How to make a new release
==========================Version numbering
--------------------
parmap version numbering is borrowed from [#rpackages-release]_.parmap versions use the following version numbering:
:code:`MAJOR.MINOR.PATCH.DEVELOPMENT`.- :code:`MAJOR`, :code:`MINOR` and :code:`PATCH` follow the semantic
versioning of libraries rules [#semver]_:- :code:`MAJOR` will only change when there is an incompatible API change.
- :code:`MINOR` will increase when functionality is added in a
backwards-compatible way
- :code:`PATCH` will change for backwards-compatible bug fixes.- :code:`DEVELOPMENT` is only used in the git repository and is removed before
official releases.Creating a new release
------------------------This is a list of things to do before a release:
- Review the ChangeLog file and add items if necessary.
- Bump the version in :code:`pyproject.toml` to a valid release version (without
:code:`DEVELOPMENT`). Update the release version in :code:`docs/conf.py` and in
the Changelog.- Build the source distribution and the binary wheel
.. code:: bash
python3 -m pip install --user -U "pip" "wheel" "build" "twine"
python3 -m build .- Check that there are no missing files in :code:`dist/parmap-x.y.z.tar.gz` and
on :code:`dist/parmap-x.y.z-py2.py3-none-any.whl`.- Check that the restructured text is valid with
.. code:: bash
twine check dist/parmap-[VERSION].tar.gz
- Commit.
- Tag the release :code:`git tag v#.#.#`.
- Push the release to :code:`origin` [#origin]_: :code:`git push origin --tags`.
- Check that the testsuite [#gh-actions]_ and the documentation [#readthedocs]_
are updated properly.- Upload to pypi: :code:`twine upload dist/parmap-#.#.#*`
- Upload to conda-forge:
* git clone [email protected]:zeehio/parmap-feedstock.git
* cd parmap-feedstock
* git remote add conda-forge https://github.com/conda-forge/parmap-feedstock
* git pull conda-forge main
* git checkout -b parmap-new-upstream-v#.#.#
* Edit recipe/meta.yaml
+ Change the version at the top and the sha256 hash (from
https://pypi.org/project/parmap/#files)
* git commit, git push
* Visit https://github.com/conda-forge/parmap-feedstock and create a PR. Follow all
checks and rules and merge it.
* Wait for conda continuous integration to finish. Check that the new parmap is at https://anaconda.org/conda-forge/parmap/files- Bump the version in :code:`pyproject.toml` to a valid development version
(appending :code:`.9000`). Update the version and release in
:code:`docs/conf.py`. Commit and push.References
-----------.. [#rpackages-release] http://r-pkgs.had.co.nz/release.html
.. [#semver] http://semver.org
.. [#origin] https://github.com/zeehio/parmap
.. [#gh-actions] https://github.com/zeehio/parmap/actions
.. [#readthedocs] https://parmap.readthedocs.org/