Skip to content

Commit

Permalink
Try and pin Sphinx version for ReadtheDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
robbmcleod committed Jun 28, 2023
1 parent 5a9f9f0 commit 0c22ea7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Changes from 2.8.1 to 2.8.3
variable:

```
x = np.empty(5, dtype=np.uint8)[1:].view(np.int32)
ne.evaluate('3', out=x)
x = np.empty(5, dtype=np.uint8)[1:].view(np.int32)
ne.evaluate('3', out=x)
```

We think the risk of issues is very low, but if you are using NumExpr as a
Expand All @@ -49,7 +49,7 @@ Changes from 2.8.0 to 2.8.1

* Fixed dependency list.
* Added ``pyproject.toml`` and modernize the ``setup.py`` script. Thanks to
Antonio Valentino for the PR.
Antonio Valentino for the PR.

Changes from 2.7.3 to 2.8.0
---------------------------
Expand Down
14 changes: 7 additions & 7 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os, sys
import numexpr
module_location = os.path.dirname( numexpr.__file__ )
sys.path.insert(0, os.path.abspath(module_location) )
# import os, sys
# import numexpr
# module_location = os.path.dirname(numexpr.__file__)
# sys.path.insert(0, os.path.abspath(module_location))

# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -62,17 +62,17 @@

# General information about the project.
project = 'numexpr'
copyright = '2006 (various)-2017, David M. Cooke, Francesc Alted, and others'
copyright = '2006 (various)-2023, David M. Cooke, Francesc Alted, and others'
author = 'David M. Cooke, Francesc Alted, and others'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '2.6'
version = '2.8'
# The full version, including alpha/beta/rc tags.
release = '2.6.3.dev0'
release = '2.8.5.dev1'


# The language for content autogenerated by Sphinx. Refer to documentation
Expand Down
3 changes: 2 additions & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sphinx == 7.0.1
numpy >= 1.13.3
numpydoc
numpydoc == 1.5.0
numexpr

2 changes: 1 addition & 1 deletion doc/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ threads used can be adjusted dynamically via ``numexpr.set_num_threads(int)``.
The number of threads can never exceed that set by ``NUMEXPR_MAX_THREADS``.

If the user has not configured the environment prior to importing NumExpr, info
logs will be generated, and the initial number of threads _that are used_ will
logs will be generated, and the initial number of threads *that are used*_ will
be set to the number of cores detected in the system or 8, whichever is *less*.

Usage::
Expand Down

0 comments on commit 0c22ea7

Please sign in to comment.