Skip to content

Commit cccddb9

Browse files
authored
Bump ton of dependencies (#92)
* Bump everything * Fix labeled free scale graph generation In newer versions create_using argument is missing * Fix number of edges for fast binomial graph networkx/networkx@dc3c486 changed algorithm in NetworkX 2.7 * Change sphinx theme activation html_theme_path no longer needed as of their tutorial
1 parent 2f5668b commit cccddb9

File tree

12 files changed

+20
-25
lines changed

12 files changed

+20
-25
lines changed

.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [ 3.8 ]
10+
python-version: [ 3.9 ]
1111
steps:
1212
- uses: actions/checkout@v3
1313

.github/workflows/deploy_docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [ 3.8 ]
14+
python-version: [ 3.9 ]
1515
steps:
1616
- uses: actions/checkout@v3
1717

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [ 3.8 ]
10+
python-version: [ 3.9 ]
1111
steps:
1212
- uses: actions/checkout@v3
1313

@@ -18,7 +18,7 @@ jobs:
1818

1919
- name: Install pre-commit
2020
run: |
21-
python -m pip install pre-commit==2.20.0
21+
python -m pip install pre-commit==3.6.2
2222
pre-commit install
2323
2424
- name: Run pre-commit

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
macos-latest,
1313
windows-latest,
1414
]
15-
python-version: [ 3.8, 3.9 ]
15+
python-version: [ 3.9 ]
1616
steps:
1717
- uses: actions/checkout@v3
1818

cfpq_data/graphs/generators/fast_labeled_binomial_graph.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def fast_labeled_binomial_graph(
4646
>>> g.number_of_nodes()
4747
42
4848
>>> g.number_of_edges()
49-
722
49+
711
5050
5151
Returns
5252
-------

cfpq_data/graphs/generators/labeled_scale_free_graph.py

-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ def labeled_scale_free_graph(
9090
delta_in=delta_in,
9191
delta_out=delta_out,
9292
seed=seed,
93-
create_using=nx.MultiDiGraph,
9493
)
9594

9695
random.seed(seed)

docs/conf.py

-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
import sys
1717
from datetime import date
1818

19-
from pydata_sphinx_theme import get_html_theme_path
20-
2119
sys.path.insert(0, os.path.abspath(".."))
2220

2321
# -- Project information -----------------------------------------------------
@@ -123,7 +121,6 @@
123121
# a list of builtin themes.
124122
#
125123
html_theme = "pydata_sphinx_theme"
126-
html_theme_path = get_html_theme_path()
127124

128125
# Theme options are theme-specific and customize the look and feel of a theme
129126
# further. For a list of options available for each theme, see the

requirements/default.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
networkx==2.6.2
2-
pandas==1.3.4
3-
pyformlang==1.0.1
4-
rdflib==6.0.0
5-
requests==2.26.0
1+
networkx==3.2.1
2+
pandas==2.2.1
3+
pyformlang==1.0.7
4+
rdflib==7.0.0
5+
requests==2.31.0

requirements/developer.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
black==22.10
2-
pre-commit==2.20
3-
pytest==6.2.4
1+
black==24.2.0
2+
pre-commit==3.6.2
3+
pytest==8.0.1

requirements/docs.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
nb2plots==0.6
2-
numpydoc==1.1.0
3-
pydata_sphinx_theme==0.6.3
4-
sphinx==4.1.2
5-
sphinx-copybutton==0.4.0
1+
nb2plots==0.7.2
2+
numpydoc==1.6.0
3+
pydata_sphinx_theme==0.15.2
4+
sphinx==7.2.6
5+
sphinx-copybutton==0.5.2

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"Operating System :: Unix",
4949
"Operating System :: Microsoft :: Windows",
5050
"Operating System :: OS Independent",
51-
"Programming Language :: Python :: 3.8",
5251
"Programming Language :: Python :: 3.9",
5352
"Programming Language :: Python :: 3 :: Only",
5453
"Topic :: Software Development :: Libraries :: Python Modules",

tests/graphs/generators/test_fast_labeled_binomial_graph.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
@pytest.mark.parametrize(
15-
"graph,expected_nodes,expected_edges", [(g1, 29, 91), (g2, 42, 182)]
15+
"graph,expected_nodes,expected_edges", [(g1, 29, 85), (g2, 42, 177)]
1616
)
1717
def test_fast_labeled_binomial_graph(graph, expected_nodes, expected_edges):
1818
assert graph.number_of_nodes() == expected_nodes

0 commit comments

Comments
 (0)