Skip to content

Commit

Permalink
build: add tensorflow and tf as optional options to be forward compat…
Browse files Browse the repository at this point in the history
…ible
  • Loading branch information
jonas-eschle committed Sep 1, 2022
1 parent 642cb2c commit 6c8f30d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
21 changes: 8 additions & 13 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,21 @@ Changelog
*********


Develop
==========


Major Features and Improvements
-------------------------------

Behavioral changes
------------------
1.7.0 (1. Sep 2022)
====================

Upgraded Python and TensorFlow version.

Bug fixes and small changes
---------------------------
Added ``tf`` and ``tensorflow`` extra to requirements. If you intend to use
phasespace with TensorFlow in the future (and not another backend like numpy or JAX),
make sure to always install with ``phasespace[tf]``.

Requirement changes
-------------------
- upgrade to TensorFlow >= 2.7
- Python from 3.7 to 3.10 is now supported


Thanks
------

1.6.0 (14 Apr 2022)
====================
Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ testpaths = tests
zip_safe = False

[options.extras_require]
tf =
tensorflow # TODO(2.0): make this the only requirement, add versions, remove from install_requires
tensorflow_probability
tensorflow =
%(tf)s
fromdecay =
particle >= 0.16.0
zfit
Expand Down

0 comments on commit 6c8f30d

Please sign in to comment.