Skip to content

Commit

Permalink
update python version requirements and chex (#14)
Browse files Browse the repository at this point in the history
* fix: adding examples in MANIFEST.in

* Add docs copyright (#6)

* docs: added copyrights to docs and slides

* docs: added citation reference

* docs: updated slides font size

* docs: updated slides footer format

* fix test imports (#7)

* fix: removed conftest imports for type hint

* fix: removed example imports in integration test

* chore: removed leftover comments

* update copyright (#8)

* docs: updated copyright in slides and footer

* ci: update version

* docs: updated copyright on all slides

* fix: enforcing Python>=3.7 for JAX (#10)

* fix: enforcing Python>=3.7 for JAX

* fix: lint

* Add chex and support Python<3.10 (#11)

* fix: adding chex as a dependency

* fix: using typing_extensions for python <3.10 suppor

* feat: updating version to 0.1.4 (#12)

* feat: update version to 0.1.4

Co-authored-by: Cyprien Courtot <c.courtot@instadeep.com>
  • Loading branch information
WissBe and cyprienc committed Jul 19, 2022
1 parent 63402ba commit 8082987
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion catx/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.3
0.1.4
7 changes: 5 additions & 2 deletions catx/type_defs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from typing import TypeAlias
try:
from typing import TypeAlias
except ImportError:
from typing_extensions import TypeAlias

from chex import ArrayNumpy, Array
from chex import Array, ArrayNumpy

Actions: TypeAlias = ArrayNumpy
JaxActions: TypeAlias = Array
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
chex
dm-haiku
matplotlib
numpy
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def read_requirements(path: str) -> List[str]:
long_description_content_type="text/markdown",
author="InstaDeep",
packages=find_packages(),
python_requires=">=3.7",
install_requires=read_requirements("requirements.txt"),
entry_points={"console_scripts": ["project_name = project_name.__main__:main"]},
extras_require={
Expand Down

0 comments on commit 8082987

Please sign in to comment.