Skip to content

Commit

Permalink
Upgrade Ruby and Sphinx (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuravel authored May 28, 2024
1 parent 3bdae36 commit bb2d856
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ executors:
- auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN
image: cimg/python:3.11
image: cimg/python:3.12

orbs:
python: circleci/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.3.1
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
source 'https://rubygems.org'

ruby file: '.ruby-version'

gem 'foreman'
gem 'guard-livereload'
gem 'guard-shell'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ First install [Sphinx](https://www.sphinx-doc.org). See below.
* Install dependencies:

```
pip3 install -r requirements.txt
pip3 install -r requirements.txt --break-system-package
```

If you have problems, try adding `-I` flag (`--ignore-installed`) to the `pip install` command.
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ task :environment do
required = File.read('requirements.txt').match(regexp).to_s
installed = `#{SPHINX_BUILD} --version`.match(regexp).to_s rescue ''
if !required.empty? && !installed.empty? && Gem::Version.new(required) > Gem::Version.new(installed)
abort "\nYou are running an outdated version of Sphinx #{installed}. Required version is #{required}. Run `pip3 install -r requirements.txt` to upgrade Sphinx."
abort "\nYou are running an outdated version of Sphinx #{installed}. Required version is #{required}. Run `pip3 install -r requirements.txt --break-system-packages` to upgrade Sphinx."
end
end

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sphinx==7.2.6
Sphinx==7.3.7

0 comments on commit bb2d856

Please sign in to comment.