Repository: pckroon/pysmiles (language: python)

Issue:
NetworkX v3
To keep compatibility with vermouth / polyply and some other packages can pysmiles networkx dependency also be increased to v3?


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 92b4ac8..c1b93c9 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -17,7 +17,7 @@ jobs:
 
     strategy:
       matrix:
-       py_version: ["3.9"]
+       py_version: ["3.11"]
 
     steps:
     - uses: actions/checkout@v3
@@ -46,7 +46,7 @@ jobs:
     - name: Set up Python
       uses: actions/setup-python@v4
       with:
-        python-version: 3.9
+        python-version: 3.11
 
     - name: Install pypa/build
       run: >-
diff --git a/setup.cfg b/setup.cfg
index 54d12c6..c55de06 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -27,7 +27,7 @@ setup-requires =
     pbr
 install-requires =  # ?? requires-dist?
     pbr
-    networkx ~= 2.0
+    networkx
 zip-safe = False
 
 [pbr]


Test patch:
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 850c83f..e53ba28 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -19,7 +19,7 @@ jobs:
 
     strategy:
       matrix:
-       py_version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
+       py_version: ["3.8", "3.9", "3.10", "3.11"]
 
     steps:
     - uses: actions/checkout@v3
@@ -48,7 +48,7 @@ jobs:
     - name: Set up Python
       uses: actions/setup-python@v4
       with:
-        python-version: 3.9
+        python-version: 3.11
     - name: Install dependencies
       run: |
         pip install --upgrade setuptools pip