diff --git a/.readthedocs.yml b/.readthedocs.yml index fa1a5744b6..cf349ea849 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,7 +3,11 @@ version: 2 sphinx: configuration: docs/read_the_docs/source/conf.py +build: + os: "ubuntu-22.04" + tools: + python: "3.11" + python: - version: "3.8" install: - requirements: docs/read_the_docs/requirements.txt diff --git a/resources/buildstock.rb b/resources/buildstock.rb index 8f3dd8d972..e64c128eb3 100644 --- a/resources/buildstock.rb +++ b/resources/buildstock.rb @@ -555,7 +555,7 @@ class Version def self.check_buildstockbatch_version if ENV.keys.include?('BUILDSTOCKBATCH_VERSION') # buildstockbatch is installed bsb_version = ENV['BUILDSTOCKBATCH_VERSION'] - if bsb_version < BuildStockBatch_Version + if Gem::Version.new(bsb_version) < Gem::Version.new(BuildStockBatch_Version) fail "BuildStockBatch version #{BuildStockBatch_Version} or above is required. Found version: #{bsb_version}" end end