Skip to content

Commit

Permalink
upgrade rdflib dependency (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
crisely09 authored May 21, 2024
1 parent 6030e45 commit bca6eec
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8
- name: Build a source tarball
run:
python setup.py sdist
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.7, 3.8 ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -58,10 +55,10 @@ jobs:
run: |
pytest --cov=./bluegraph
- name: Upload to codecov
if: ${{matrix.python-version == '3.7'}}
if: ${{matrix.python-version == '3.8'}}
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: false
files: ./coverage.xml
flags: pytest
name: "bluegraph-py37"
name: "bluegraph-py38"
7 changes: 6 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
# Required
version: 2

build:
os: ubuntu-lts-latest
tools:
python: "3.8"

sphinx:
fail_on_warning: true
fail_on_warning: false

# Optionally set the version of Python and requirements required to build your docs
python:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The same holds for the Neo4j backend: in order to use it, the database should be
Installing BlueGraph
^^^^^^^^^^^^^^^^^^^^^

BlueGraph supports Python versions >= 3.7 and pip >= 21.0.1. To update pip from the older versions run:
BlueGraph supports Python versions >= 3.8 and pip >= 21.0.1. To update pip from the older versions run:

::
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ scipy>=1.4.1
matplotlib>=3.4.2
nltk>=3.6
nexus-sdk>=0.3.2
nexusforge>=0.6.3
nexusforge @ git+https://github.com/BlueBrain/nexus-forge@master
gensim==3.8.3
pyjwt==2.4.0
tensorflow==2.2.0
Expand All @@ -21,5 +21,5 @@ dash_daq==0.5.0
dash_extensions==0.0.58
dash_cytoscape<=0.2.0
ipywidgets==7.6.3
neo4j>=4.2.1
rdflib==6.3.2
neo4j>=4.4.3
rdflib==7.0.0
2 changes: 1 addition & 1 deletion services/embedder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ channels:
- conda-forge
- pytorch
dependencies:
- python=3.7
- python=3.8
- flask
- numpy>=1.20.1
- pandas
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
keywords="framework knowledge graph data science",
url="https://github.com/BlueBrain/BlueGraph",
packages=find_packages(),
python_requires=">=3.7",
python_requires=">=3.8",
setup_requires=[
"setuptools_scm",
],
Expand All @@ -49,13 +49,13 @@
"scipy",
"matplotlib",
"nltk",
"nexusforge",
"nexusforge@git+https://github.com/BlueBrain/nexus-forge@master",
"nexus-sdk",
"networkx==2.6.3", # needed to fix networkx, because the new versions are not
# consistent with the requirements of graph-tools on scipy
"python-louvain",
"pyjwt==2.4.0",
"rdflib==6.3.2",
"rdflib==7.0.0",
"Werkzeug==2.0.3" # dash doesn't work with the new version of Werkzeug
],
package_data={
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ testdeps =
[tox]
envlist =
lint
py{37,38}
py38

indexserver =
default = https://bbpteam.epfl.ch/repository/devpi/simple
Expand All @@ -18,7 +18,7 @@ deps = {[base]testdeps}
commands = pytest tests

[testenv:lint]
basepython=python3.7
basepython=python3.8
deps =
pycodestyle
pylint
Expand Down

0 comments on commit bca6eec

Please sign in to comment.