Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: specify docs build.os #3349

Merged
merged 2 commits into from
Sep 21, 2023
Merged

docs: specify docs build.os #3349

merged 2 commits into from
Sep 21, 2023

Conversation

terriko
Copy link
Contributor

@terriko terriko commented Sep 18, 2023

Looks like readthedocs needs a build.os specified in the config file. I should probably also update this to use a more recent version of python but I'm trying to avoid making too many changes at once since it's not easy to test this config file locally.

Signed-off-by: Terri Oda <terri.oda@intel.com>
@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2023

Codecov Report

Merging #3349 (7f0015e) into main (0d405cb) will increase coverage by 5.19%.
Report is 18 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3349      +/-   ##
==========================================
+ Coverage   75.63%   80.82%   +5.19%     
==========================================
  Files         732      734       +2     
  Lines       11443    11453      +10     
  Branches     1560     1560              
==========================================
+ Hits         8655     9257     +602     
+ Misses       2436     1765     -671     
- Partials      352      431      +79     
Flag Coverage Δ
longtests 75.63% <ø> (+<0.01%) ⬆️
win-longtests 78.79% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 26 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link

@novafacing novafacing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requiring 3.8 explicitly may cause doc build failures on some Ubuntu 22.04 installs -- just checking with the below shows 3.10 for me. Can this be changed to python: "3" to allow any Python3 version? Otherwise looks good to match the spec in rtd v2 config.

docker run ubuntu:22.04 bash -c \
    'apt-get -y update && apt-get -y install python3 && python3 --version'

.readthedocs.yml Outdated Show resolved Hide resolved
@terriko
Copy link
Contributor Author

terriko commented Sep 21, 2023

Requiring 3.8 explicitly may cause doc build failures on some Ubuntu 22.04 installs

I'd been planning to upgrade this in a future commit anyhow (I just didn't want to change too much at once) but you raise a good point. I don't know how the containers readthedocs uses now are set up; it's likely that they still allow 3.8 when set explicitly but that's pretty long in the tooth. I've upgraded it to 3.10 for now.

Edit to add: I'm going with 3.10 explicitly rather than just 3 because readthedocs has historically recommended pinning as much as possible for stable doc builds.

Copy link

@novafacing novafacing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me then!

@terriko terriko merged commit ed6033b into intel:main Sep 21, 2023
21 checks passed
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.

ci: Docs build is listed as failing
3 participants