Skip to content

Update dependency networkx to v2.8.8 - autoclosed#98

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/networkx-2.x
Closed

Update dependency networkx to v2.8.8 - autoclosed#98
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/networkx-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Aug 27, 2025

This PR contains the following updates:

Package Change Age Confidence
networkx ==2.5.1==2.8.8 age confidence

Release Notes

networkx/networkx (networkx)

v2.8.8: NetworkX 2.8.8

Compare Source

Full Changelog: networkx/networkx@networkx-2.8.7...networkx-2.8.8

v2.8.7: NetworkX 2.8.7

Compare Source

Full Changelog: networkx/networkx@networkx-2.8.6...networkx-2.8.7

v2.8.6: NetworkX 2.8.6

Compare Source

Full Changelog: networkx/networkx@networkx-2.8.5...networkx-2.8.6

v2.8.5: NetworkX 2.8.5

Compare Source

Full Changelog: networkx/networkx@networkx-2.8.4...networkx-2.8.5

v2.8.4: NetworkX 2.8.4

Compare Source

What's Changed

New Contributors

Full Changelog: networkx/networkx@networkx-2.8.3...networkx-2.8.4

v2.8.3: NetworkX 2.8.3

Compare Source

What's Changed

New Contributors

Full Changelog: networkx/networkx@networkx-2.8.2...networkx-2.8.3

v2.8.2: NetworkX 2.8.2

Compare Source

v2.8.1: NetworkX 2.8.1

Compare Source

v2.8: NetworkX 2.8

Compare Source

v2.7.1: NetworkX 2.7.1

Compare Source

v2.7: NetworkX 2.7

Compare Source

v2.6.3: NetworkX 2.6.3

Compare Source

v2.6.2: NetworkX 2.6.2

Compare Source

v2.6.1: NetworkX 2.6.1

Compare Source

v2.6: NetworkX 2.6

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/networkx-2.x branch from 6e8d1a1 to 87d2d65 Compare March 10, 2026 07:11
NaweedAghmad added a commit that referenced this pull request Mar 11, 2026
Security and maintenance updates:
- torch: 2.7.1 → 2.8.0 (SECURITY - PR #102)
- numpy: 1.23.4 → 2.4.3 (PR #108, #100)
- matplotlib: 3.3.3 → 3.10.8 (PR #97)
- networkx: 2.5.1 → 3.6.1 (PR #107, #98)
- tqdm: 4.66.3 → 4.67.3 (PR #103)

All updates tested with 117 tests passing on Python 3.11.13
Enables merging of all 9 open dependency security PRs
NaweedAghmad added a commit that referenced this pull request Mar 11, 2026
Security and maintenance updates:
- torch: 2.7.1 → 2.8.0 (SECURITY - PR #102)
- numpy: 1.23.4 → 2.4.3 (PR #108, #100)
- matplotlib: 3.3.3 → 3.10.8 (PR #97)
- networkx: 2.5.1 → 3.6.1 (PR #107, #98)
- tqdm: 4.66.3 → 4.67.3 (PR #103)

All updates tested with 117 tests passing on Python 3.11.13
Enables merging of all 9 open dependency security PRs

Signed-off-by: naweedkhan <naweed.khan@ibm.com>
NaweedAghmad added a commit that referenced this pull request Mar 11, 2026
* ADD: Modern Python packaging with pyproject.toml

- Migrate from setup.py to PEP 621 compliant pyproject.toml
- Use hatchling as build backend
- Python 3.11+ required (networkx 3.6.1 constraint)
- Include all runtime and development dependencies
- Add tool configurations for black, pytest, ruff, flake8
- Set .python-version to 3.11 for consistency
- Enables modern tooling and reproducible builds

This addresses the foundation for merging security PRs #102-#111

Signed-off-by: naweedkhan <naweed.khan@ibm.com>

* FIX: NumPy 2.0 compatibility in tensorise function

- Update tensorise() to handle np.bool_ (NumPy 2.0) and np.bool (NumPy <2.0)
- Add proper handling for numpy boolean arrays with astype(bool)
- Add comprehensive docstring explaining compatibility
- Fixes TypeError when converting numpy scalar bools to tensors
- Maintains backward compatibility with NumPy 1.x

Resolves compatibility issues for PR #108 (numpy 2.x update)
Location: lnn/neural/activations/node.py:216-255

Signed-off-by: naweedkhan <naweed.khan@ibm.com>

* UPDATE: All dependencies to latest secure versions

Security and maintenance updates:
- torch: 2.7.1 → 2.8.0 (SECURITY - PR #102)
- numpy: 1.23.4 → 2.4.3 (PR #108, #100)
- matplotlib: 3.3.3 → 3.10.8 (PR #97)
- networkx: 2.5.1 → 3.6.1 (PR #107, #98)
- tqdm: 4.66.3 → 4.67.3 (PR #103)

All updates tested with 117 tests passing on Python 3.11.13
Enables merging of all 9 open dependency security PRs

Signed-off-by: naweedkhan <naweed.khan@ibm.com>

* MAINT: Remove setup.py in favor of pyproject.toml

- Fully migrate to modern PEP 621 packaging
- Remove problematic == to >= conversion hack
- setup.py functionality now in pyproject.toml
- Uses hatchling for building (faster, modern)
- No breaking changes - pip install still works

Part of migration to modern Python tooling

Signed-off-by: naweedkhan <naweed.khan@ibm.com>

* UPDATE: GitHub Actions to v6 with uv integration

build.yml:
- actions/checkout: v2 → v6 (PR #111)
- actions/setup-python: v2 → v6 (PR #106)
- Add astral-sh/setup-uv@v5 for faster installs
- Test Python 3.11, 3.12, 3.13 (dropped 3.10)
- Enable uv caching for faster CI runs

black.yml:
- actions/checkout: v2 → v6 (PR #111)
- Add explicit Python 3.11 setup

Estimated CI speedup: 50-70% with uv
Addresses PRs #106 and #111

Signed-off-by: naweedkhan <naweed.khan@ibm.com>

* UPDATE: Development and automation tooling

.pre-commit-config.yaml:
- pre-commit-hooks: v2.3.0 → v5.0.0
- black: 22.3.0 → 24.10.0
- Add security hooks: detect-private-key, check-merge-conflict
- Add check-added-large-files
- Set Python 3.11 for black

renovate.json:
- Group major updates separately
- Group ML frameworks (torch, numpy, etc.)
- Auto-merge safe dev tool updates
- Enhanced security alert configuration
- Add lock file maintenance for uv.lock
- Better PR organization and labeling

Improves development workflow and dependency management

Signed-off-by: naweedkhan <naweed.khan@ibm.com>

* ADD: uv.lock for reproducible builds

- Lock file with 182 resolved packages
- Ensures consistent dependency versions across environments
- Speeds up installs with uv package manager
- Generated with uv 0.10.9
- Compatible with Python 3.11+

Enables:
- Reproducible builds in CI and local dev
- Faster dependency resolution
- Better dependency conflict detection

File size: 478KB

Signed-off-by: naweedkhan <naweed.khan@ibm.com>

* ADD: Security coverage analysis and documentation

- Comprehensive security coverage analysis
- All 9 Renovate PRs addressed and verified
- torch 2.10.0 exceeds security requirement of 2.8.0
- Documents all dependency versions in uv.lock
- Lists security tooling improvements
- Updated PR description with security details

This confirms all known vulnerabilities are resolved.

Signed-off-by: naweedkhan <naweed.khan@ibm.com>

* FIX: Use approximate equality for floating-point tests

- Replace exact equality checks with tolerance-based comparison
- Fixes test_rv_or_n.py failures due to floating-point precision
- torch 2.10.0/numpy 2.4.3 have slightly different precision
- Use 1e-6 tolerance for lower/upper bound comparisons

Resolves CI test failures in Python 3.11, 3.12, 3.13

Signed-off-by: naweedkhan <naweed.khan@ibm.com>

---------

Signed-off-by: naweedkhan <naweed.khan@ibm.com>
@renovate renovate Bot changed the title Update dependency networkx to v2.8.8 Update dependency networkx to v2.8.8 - autoclosed Mar 11, 2026
@renovate renovate Bot closed this Mar 11, 2026
@renovate renovate Bot deleted the renovate/networkx-2.x branch March 11, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants