Skip to content

Commit

Permalink
Pin numpy<1.24.0 (aws#416)
Browse files Browse the repository at this point in the history
* Pin numpy<1.24.0

* Update changelog

* Add temporary install prerequisite

Co-authored-by: Michael Chin <[email protected]>
  • Loading branch information
michaelnchin and michaelnchin authored Dec 21, 2022
1 parent a23b3e5 commit 68147a8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Starting with v1.31.6, this file will contain a record of major features and upd

## Upcoming
- Fixed failing endpoint creation step in [01-People-Analytics/People-Analytics-using-Neptune-ML](https://github.com/aws/graph-notebook/blob/main/src/graph_notebook/notebooks/04-Machine-Learning/Sample-Applications/01-People-Analytics/People-Analytics-using-Neptune-ML.ipynb) ([Link to PR](https://github.com/aws/graph-notebook/pull/411))
- Pinned `numpy<1.24.0` to fix conflicts with `networkx` dependency during installation ([Link to PR](https://github.com/aws/graph-notebook/pull/416))

## Release 3.7.0 (December 7, 2022)
- Added Neo4J section to `%%graph_notebook_config` ([Link to PR](https://github.com/aws/graph-notebook/pull/331))
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ You will need:

* [Python](https://www.python.org/downloads/) 3.7.0-3.9.7
* [RDFLib](https://pypi.org/project/rdflib/) 5.0.0
* [NumPy](https://pypi.org/project/numpy) <=1.23.5
* A graph database that provides one or more of:
* A SPARQL 1.1 endpoint
* An Apache TinkerPop Gremlin Server compatible endpoint
Expand All @@ -107,6 +108,7 @@ Begin by installing `graph-notebook` and its prerequisites, then follow the rema
```
# pin specific versions of required dependencies
pip install rdflib==5.0.0
pip install numpy==1.23.5
# install the package
pip install graph-notebook
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jedi<0.18.0
markupsafe<2.1.0
itables>=1.0.0
pandas
numpy<1.24.0

# requirements for testing
botocore~=1.18.18
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def get_version():
'jedi<0.18.0',
'markupsafe<2.1.0',
'itables>=1.0.0',
'pandas'
'pandas',
'numpy<1.24.0'
],
package_data={
'graph_notebook': ['graph_notebook/widgets/nbextensions/**',
Expand Down

0 comments on commit 68147a8

Please sign in to comment.