Repository: Becksteinlab/GromacsWrapper (language: python)

Issue:
RTD docs build failed
https://readthedocs.org/projects/gromacswrapper/builds/21942586/

Error

Problem in your project's configuration. Invalid configuration option "python.system_packages". This configuration key has been deprecated and removed. Refer to https://blog.readthedocs.com/drop-support-system-packages/ to read more about this change and how to upgrade your config file.


Discussion / hints:

Fix patch:
diff --git a/readthedocs.yml b/.readthedocs.yml
similarity index 69%
rename from readthedocs.yml
rename to .readthedocs.yml
index 3231d63d..0c02f897 100644
--- a/readthedocs.yml
+++ b/.readthedocs.yml
@@ -4,20 +4,22 @@
 
 version: 2
 
+build:
+  os: "ubuntu-22.04"
+  tools:
+    python: "3.11"
+
 sphinx:
     configuration: doc/sphinx/source/conf.py
 
 # Optionally build your docs in additional formats such as PDF and ePub
 formats: all
 
-
 python:
-    version: 3.6
     install:
       - method: pip
         path: .
-      - requirements: ci/requirements.txt
-    system_packages: true
+      - requirements: ci/readthedocs/requirements.txt
 
 conda:
-    environment: ci/environment.yml
+    environment: ci/readthedocs/environment.yml
diff --git a/ci/environment.yml b/ci/readthedocs/environment.yml
similarity index 50%
rename from ci/environment.yml
rename to ci/readthedocs/environment.yml
index ac0caf03..8d2e6baf 100644
--- a/ci/environment.yml
+++ b/ci/readthedocs/environment.yml
@@ -1,5 +1,5 @@
 name: gw
 channels:
-- bioconda
+- conda-forge
 dependencies:
-- gromacs
+- gromacs==2023.1
diff --git a/ci/readthedocs/requirements.txt b/ci/readthedocs/requirements.txt
new file mode 100644
index 00000000..5cc2477e
--- /dev/null
+++ b/ci/readthedocs/requirements.txt
@@ -0,0 +1,6 @@
+six
+numpy>=1.0
+matplotlib
+pandas
+numkit>=1.0
+
diff --git a/ci/requirements.txt b/ci/requirements.txt
deleted file mode 100644
index 0de64e2f..00000000
--- a/ci/requirements.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-numkit>=1.0
-


Test patch:
diff --git a/ci/conda-envs/test_env.yaml b/ci/conda-envs/test_env.yaml
index 8f3003fe..28698900 100644
--- a/ci/conda-envs/test_env.yaml
+++ b/ci/conda-envs/test_env.yaml
@@ -7,4 +7,4 @@ dependencies:
 - numpy>=1.0
 - matplotlib
 - pandas>=0.17
-- numkit
\ No newline at end of file
+- numkit>=1.0