Skip to content

Commit

Permalink
Bumb readthedocs ubuntu image version to fix the docs generation
Browse files Browse the repository at this point in the history
The old `ubuntu-22.04` uses version `swig4.0` which fails on C++11 attributes.
We have started to use them in: #1793
and the readthedocs build has been failing since then.

Use `24.04` (https://about.readthedocs.com/blog/2024/06/ubuntu-24-04/)
because it uses `swig_4.2.0` which at least ignores the attributes.

According to the changelog the attributes should be ignored since
version 4.1.0: https://www.swig.org/Release/CHANGES
```
2022-07-07: jmarrec
	    #1158 #2286 Add basic support for C++11 attributes.  These are now
	    crudely ignored by SWIG's parser's tokeniser, which is better than
	    failing with a parse error.
```
  • Loading branch information
kontura authored and jan-kolarik committed Dec 19, 2024
1 parent 19f085f commit d51f614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2

build:
os: ubuntu-22.04
os: ubuntu-24.04
apt_packages:
- swig
tools:
Expand Down

0 comments on commit d51f614

Please sign in to comment.