Fwd: Sphinx 1.3 beta 3 released

99 views
Skip to first unread message

Takayuki Shimizukawa

unread,
Feb 24, 2015, 9:37:36 AM2/24/15
to sphinx...@googlegroups.com
Hi all,

I'm very happy to announce the release of Sphinx 1.3, beta 3,
available on the Python package index at
<http://pypi.python.org/pypi/Sphinx/1.3b3>.
Please test and report bugs to <https://github.com/sphinx-doc/sphinx/issues>.

This is the final beta release for Sphinx 1.3 that includes:
- 3 Incompatibilities; requires docutils 0.11, Pygments 2.0
- 10 new features; add 'alabaster' and 'sphinx_rtd_theme' themes.
- 14 bug fixes.

For the full changelog, go to:
https://github.com/sphinx-doc/sphinx/blob/567af23/CHANGES

What is it?
===========

Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of
multiple reStructuredText source files).

Website: http://sphinx-doc.org/

Enjoy!
--
Takayuki SHIMIZUKAWA
http://about.me/shimizukawa

Vadim Peretokin

unread,
Feb 24, 2015, 3:05:32 PM2/24/15
to sphinx...@googlegroups.com
The update does not seem to be working for me:

$ sudo pip install -U Sphinx
[sudo] password for vadi: 
Requirement already up-to-date: Sphinx in /usr/local/lib/python2.7/dist-packages/Sphinx-1.3b1-py2.7.egg
Requirement already up-to-date: six>=1.4 in /usr/local/lib/python2.7/dist-packages (from Sphinx)
Requirement already up-to-date: Jinja2>=2.3 in /usr/local/lib/python2.7/dist-packages (from Sphinx)
Requirement already up-to-date: Pygments>=1.2 in /usr/local/lib/python2.7/dist-packages (from Sphinx)
Requirement already up-to-date: docutils>=0.10 in /usr/local/lib/python2.7/dist-packages (from Sphinx)
Requirement already up-to-date: snowballstemmer>=1.1 in /usr/local/lib/python2.7/dist-packages/snowballstemmer-1.2.0-py2.7.egg (from Sphinx)
Requirement already up-to-date: babel in /usr/local/lib/python2.7/dist-packages/Babel-1.3-py2.7.egg (from Sphinx)
Requirement already up-to-date: markupsafe in /usr/local/lib/python2.7/dist-packages (from Jinja2>=2.3->Sphinx)
Requirement already up-to-date: pytz>=0a in /usr/local/lib/python2.7/dist-packages (from babel->Sphinx)
Cleaning up...

I'm on Ubuntu 14.04 LTS.

$ python --version
Python 2.7.6

$ python
python            python2.7-config  python3.4         python-config
python2           python2-config    python3.4m        python-thinlinc
python2.7         python3     

$ python3 --version
Python 3.4.0

Takayuki Shimizukawa

unread,
Feb 24, 2015, 4:50:47 PM2/24/15
to sphinx...@googlegroups.com
Hi,

On Wed Feb 25 2015 at 5:05:37 Vadim Peretokin <vpere...@gmail.com> wrote:
The update does not seem to be working for me:

$ sudo pip install -U Sphinx
[sudo] password for vadi: 
Requirement already up-to-date: Sphinx in /usr/local/lib/python2.7/dist-packages/Sphinx-1.3b1-py2.7.egg

pip-1.4 or later needs "--pre" option or version spec to install beta version.

$ pip install --pre sphinx
or
$ pip install sphinx==1.3b3

> pip now only installs stable versions by default, and offers a new --pre option to also find pre-release and development versions. (Pull #834)

Regards,

Vadim Peretokin

unread,
Feb 25, 2015, 1:49:47 AM2/25/15
to sphinx...@googlegroups.com
That just seemed to stuff it up:

vadi@gooseberry:~$ sudo pip install --pre sphinx
Requirement already satisfied (use --upgrade to upgrade): sphinx in /usr/local/lib/python2.7/dist-packages/Sphinx-1.3b1-py2.7.egg
Requirement already satisfied (use --upgrade to upgrade): six>=1.4 in /usr/local/lib/python2.7/dist-packages (from sphinx)
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.3 in /usr/local/lib/python2.7/dist-packages (from sphinx)
Requirement already satisfied (use --upgrade to upgrade): Pygments>=1.2 in /usr/local/lib/python2.7/dist-packages (from sphinx)
Requirement already satisfied (use --upgrade to upgrade): docutils>=0.10 in /usr/local/lib/python2.7/dist-packages (from sphinx)
Requirement already satisfied (use --upgrade to upgrade): snowballstemmer>=1.1 in /usr/local/lib/python2.7/dist-packages/snowballstemmer-1.2.0-py2.7.egg (from sphinx)
Requirement already satisfied (use --upgrade to upgrade): babel in /usr/local/lib/python2.7/dist-packages/Babel-1.3-py2.7.egg (from sphinx)
Requirement already satisfied (use --upgrade to upgrade): markupsafe in /usr/local/lib/python2.7/dist-packages (from Jinja2>=2.3->sphinx)
Requirement already satisfied (use --upgrade to upgrade): pytz>=0a in /usr/local/lib/python2.7/dist-packages (from babel->sphinx)
Cleaning up...
vadi@gooseberry:~$ sudo pip install --pre --upgrade sphinx
  Downloading Sphinx-1.3b3-py2.py3-none-any.whl (1.3MB): 1.3MB downloaded
Requirement already up-to-date: babel in /usr/local/lib/python2.7/dist-packages/Babel-1.3-py2.7.egg (from sphinx)
Requirement already up-to-date: Jinja2>=2.3 in /usr/local/lib/python2.7/dist-packages (from sphinx)
Downloading/unpacking sphinx-rtd-theme (from sphinx)
  Downloading sphinx_rtd_theme-0.1.6-py27-none-any.whl (217kB): 217kB downloaded
Requirement already up-to-date: six>=1.4 in /usr/local/lib/python2.7/dist-packages (from sphinx)
Requirement already up-to-date: Pygments>=2.0 in /usr/local/lib/python2.7/dist-packages (from sphinx)
Requirement already up-to-date: snowballstemmer>=1.1 in /usr/local/lib/python2.7/dist-packages/snowballstemmer-1.2.0-py2.7.egg (from sphinx)
Requirement already up-to-date: docutils>=0.11 in /usr/local/lib/python2.7/dist-packages (from sphinx)
Downloading/unpacking alabaster (from sphinx)
  Downloading alabaster-0.6.3.tar.gz
  Running setup.py (path:/tmp/pip_build_root/alabaster/setup.py) egg_info for package alabaster
    
    warning: no files found matching 'README.md'
    warning: no previously-included files matching '.*.swp' found under directory 'alabaster'
Requirement already up-to-date: pytz>=0a in /usr/local/lib/python2.7/dist-packages (from babel->sphinx)
Requirement already up-to-date: markupsafe in /usr/local/lib/python2.7/dist-packages (from Jinja2>=2.3->sphinx)
Installing collected packages: sphinx, sphinx-rtd-theme, alabaster
  Found existing installation: Sphinx 1.3b1
    Uninstalling Sphinx:
      Successfully uninstalled Sphinx
  Running setup.py install for alabaster
    
    warning: no files found matching 'README.md'
    warning: no previously-included files matching '.*.swp' found under directory 'alabaster'
Successfully installed sphinx sphinx-rtd-theme alabaster
Cleaning up...
vadi@gooseberry:~$ sudo pip install --pre sphinx
Requirement already satisfied (use --upgrade to upgrade): sphinx in /usr/local/lib/python2.7/dist-packages
Cleaning up...
vadi@gooseberry:~$ sudo pip install sphinx==1.3b3
Requirement already satisfied (use --upgrade to upgrade): sphinx==1.3b3 in /usr/local/lib/python2.7/dist-packages
Cleaning up...
vadi@gooseberry:~$ sudo pip install --upgrade sphinx==1.3b3
Requirement already up-to-date: sphinx==1.3b3 in /usr/local/lib/python2.7/dist-packages
Cleaning up...
vadi@gooseberry:~$ pip --version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)
vadi@gooseberry:~$ cd ~/Games/Mudlet/svo/doc && sphinx-build -j 4 -b html -d _build/doctrees   . _build/html
Traceback (most recent call last):
  File "/usr/local/bin/sphinx-build", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Sphinx==1.3b1
vadi@gooseberry:~/Games/Mudlet/svo/doc$ 

Takayuki Shimizukawa

unread,
Feb 25, 2015, 1:58:43 AM2/25/15
to sphinx...@googlegroups.com
Hi,

On Wed Feb 25 2015 at 15:49:47 Vadim Peretokin <vpere...@gmail.com> wrote:
pkg_resources.DistributionNotFound: Sphinx==1.3b1
vadi@gooseberry:~/Games/Mudlet/svo/doc$ 
 
It seems that 1.3b3 has been installed, however /usr/local/bin/sphinx-build bootstrap script is old.
For recovering,

1. remove /usr/local/bin/sphinx-*  bootstrap scripts
2. sudo pip uninstall sphinx
3. sudo pip install sphinx==1.3b3

Please try it.

Vadim Peretokin

unread,
Feb 25, 2015, 2:25:43 AM2/25/15
to sphinx...@googlegroups.com
Thank you Takayuki, that worked.

--
You received this message because you are subscribed to a topic in the Google Groups "sphinx-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sphinx-users/fxNwD3eMc0g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sphinx-users...@googlegroups.com.
To post to this group, send email to sphinx...@googlegroups.com.
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Paolo Cavallini

unread,
Feb 25, 2015, 4:22:02 AM2/25/15
to sphinx...@googlegroups.com
Il 24/02/2015 22:50, Takayuki Shimizukawa ha scritto:

> $ pip install --pre sphinx
> or
> $ pip install sphinx==1.3b3

Confirmed, this works, whereas the previous command, or

pip install --upgrade sphinx

fail to upgrade the package.

All the best.


--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html

Paolo Cavallini

unread,
Feb 25, 2015, 5:52:11 AM2/25/15
to sphinx...@googlegroups.com
Il 24/02/2015 22:50, Takayuki Shimizukawa ha scritto:
> Hi,
>
> On Wed Feb 25 2015 at 5:05:37 Vadim Peretokin <vpere...@gmail.com
> <mailto:vpere...@gmail.com>> wrote:
>
> The update does not seem to be working for me:

I confirm, the padding issue I mentioned previously is now gone.
Thanks a lot.
Reply all
Reply to author
Forward
0 new messages