Skip to content

Commit

Permalink
Merge pull request #172 from pescadores/3.0-release
Browse files Browse the repository at this point in the history
3.0 release prep
  • Loading branch information
bmcfee authored Mar 12, 2024
2 parents 19a3f37 + 9563e49 commit b800250
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 1 deletion.
43 changes: 43 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Publish Python 🐍 distributions 📦 to PyPI

on:
release:
types: [created]


jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pescador
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish package distributions to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
22 changes: 22 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
Changes
=======

v3.0.0 (2024-03-12)
-------------------

- `#171`_ New distribution modes for `StochasticMux`: `constant` and `binomial` (new default). The `rate`
parameter in `poisson` mode (old default) now has slightly reduced variance compared to pescador 2.x.
- `#170`_ Replaced JSON encoding for data headers with msgpack in `ZMQStreamer`.
- `#168`_ Improved exception tracing for maps.
- `#159`_, `#164`_, `#166`_, `#167`_ Modernized packaging and updated to support Python up to 3.12. Removed
support for python 2.
- `#162`_ Corrected documentation for streamer



.. _#171: https://github.com/pescadores/pescador/pull/171
.. _#170: https://github.com/pescadores/pescador/pull/170
.. _#168: https://github.com/pescadores/pescador/pull/168
.. _#167: https://github.com/pescadores/pescador/pull/167
.. _#166: https://github.com/pescadores/pescador/pull/166
.. _#164: https://github.com/pescadores/pescador/pull/164
.. _#162: https://github.com/pescadores/pescador/pull/162
.. _#159: https://github.com/pescadores/pescador/pull/159

v2.1.0 (2019-08-29)
-------------------
- `#156`_ Added support for python 3.7
Expand Down
2 changes: 1 addition & 1 deletion pescador/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"""Version info"""

short_version = "3.0"
version = "3.0.0-dev"
version = "3.0.0"

0 comments on commit b800250

Please sign in to comment.