Skip to content

Commit 3c0782f

Browse files
authored
Prep for the next release, updates to deps, actions and test with py314 in CI (#148)
1 parent 05b36c3 commit 3c0782f

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
python-version: ["3.12"]
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818

1919
- name: Set up Python ${{ matrix.python-version }}
2020
uses: actions/setup-python@v4

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ on:
77
jobs:
88
pypi-publish:
99
name: upload release to PyPI
10-
if: github.repository_owner == 'networkx' && startsWith(github.ref, 'refs/tags/v') && github.actor == 'jarrodmillman' && always()
10+
if: github.repository_owner == 'networkx' && startsWith(github.ref, 'refs/tags/v') && always()
1111
runs-on: ubuntu-latest
1212
# Specifying a GitHub environment is optional, but strongly encouraged
1313
environment: release
1414
permissions:
1515
# IMPORTANT: this permission is mandatory for trusted publishing
1616
id-token: write
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 0
2121

22-
- uses: actions/setup-python@v5
22+
- uses: actions/setup-python@v6
2323
name: Install Python
2424
with:
2525
python-version: "3.12"

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
# fail-fast: true
1717
matrix:
1818
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
19-
python-version: ["3.12", "3.13"]
19+
python-version: ["3.12", "3.13", "3.14"]
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v5
26+
uses: actions/setup-python@v6
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
- name: Install dependencies

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
repos:
55
- repo: https://github.com/adamchainz/blacken-docs
6-
rev: 1.18.0
6+
rev: 1.20.0
77
hooks:
88
- id: blacken-docs
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.6.7
10+
rev: v0.14.10
1111
hooks:
1212
- id: ruff
1313
args:

pyproject.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ classifiers = [
1818
'Programming Language :: Python :: 3',
1919
'Programming Language :: Python :: 3.12',
2020
'Programming Language :: Python :: 3.13',
21+
'Programming Language :: Python :: 3.14',
2122
'Programming Language :: Python :: 3 :: Only',
2223
]
2324

@@ -46,18 +47,18 @@ parallel = "_nx_parallel:get_info"
4647

4748
[project.optional-dependencies]
4849
developer = [
49-
'pre-commit==3.8.0',
50-
'ruff==0.6.7',
50+
'pre-commit',
51+
'ruff==0.14.0',
5152
]
5253
heatmap = [
53-
'matplotlib>=3.8',
54+
'matplotlib>=3.9',
5455
'seaborn>=0.13.2',
55-
'pandas>=2.0',
56+
'pandas>=2.2',
5657
]
5758
test = [
5859
'pytest>=7.2',
59-
'numpy>=1.23',
60-
'scipy>=1.9,!=1.11.0,!=1.11.1',
60+
'numpy>=2',
61+
'scipy>=1.12',
6162
]
6263

6364
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)