Skip to content

Commit

Permalink
Merge pull request #991 from esc/release0.41
Browse files Browse the repository at this point in the history
Release 0.41.0 FINAL
  • Loading branch information
esc committed Sep 19, 2023
2 parents 3ac921a + 218bf29 commit d92315b
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 33 deletions.
19 changes: 19 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

sphinx:
configuration: docs/source/conf.py
fail_on_warning: true

python:
install:
- method: pip
path: .
5 changes: 4 additions & 1 deletion CHANGE_LOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
v0.41.0 (Aug 11, 2023)
v0.41.0 (Sept 20, 2023)
-----------------------

Pull-Requests:
Expand All @@ -22,6 +22,9 @@ Pull-Requests:
* PR `#967 <https://github.com/numba/llvmlite/pull/967>`_: Expose library name in OrcJIT tracker (`apmasell <https://github.com/apmasell>`_)
* PR `#968 <https://github.com/numba/llvmlite/pull/968>`_: Update LLVM manual build instructions (`apmasell <https://github.com/apmasell>`_)
* PR `#969 <https://github.com/numba/llvmlite/pull/969>`_: update changelog on main for v0.40.1 (`esc <https://github.com/esc>`_)
* PR `#983 <https://github.com/numba/llvmlite/pull/983>`_: adding RTD conf file V2 as per request (`esc <https://github.com/esc>`_)
* PR `#985 <https://github.com/numba/llvmlite/pull/985>`_: Update release checklist post 0.41.0rc1 (`esc <https://github.com/esc>`_)
* PR `#988 <https://github.com/numba/llvmlite/pull/988>`_: Fix FreeBsd build (`sklam <https://github.com/sklam>`_)

Authors:

Expand Down
8 changes: 0 additions & 8 deletions docs/environment.yml

This file was deleted.

21 changes: 6 additions & 15 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@

import sys
import os
import shlex
from datetime import datetime

on_rtd = os.environ.get('READTHEDOCS') == 'True'
import sphinx_rtd_theme

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down Expand Up @@ -58,9 +57,10 @@
copyright = '2015, Continuum Analytics'
author = 'Continuum Analytics'

if on_rtd:
if os.environ.get('READTHEDOCS'):
# RTD replaces the last update date. So we need to hack it in here.
copyright += '. Last updated on {}'.format(datetime.utcnow().strftime('%b %d, %Y'))
copyright += '. Last updated on {}'.format(
datetime.utcnow().strftime('%b %d, %Y'))

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -121,18 +121,9 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'

# on_rtd is whether we are on readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if not on_rtd:
# only import and set the theme if we're building docs locally
# otherwise, readthedocs.org uses their theme by default, so no need to specify it
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
2 changes: 1 addition & 1 deletion ffi/Makefile.freebsd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LIBS = $(LLVM_LIBS)
INCLUDE = core.h
SRC = assembly.cpp bitcode.cpp core.cpp initfini.cpp module.cpp value.cpp \
executionengine.cpp transforms.cpp passmanagers.cpp targets.cpp dylib.cpp \
linker.cpp object_file.cpp
linker.cpp object_file.cpp orcjit.cpp
OUTPUT = libllvmlite.so

all: $(OUTPUT)
Expand Down
5 changes: 0 additions & 5 deletions readthedocs.yml

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ def _guard_py_ver():

_guard_py_ver()

if os.environ.get('READTHEDOCS', None) == 'True':
sys.exit("setup.py disabled on readthedocs: called with %s"
% (sys.argv,))

import versioneer

Expand Down

0 comments on commit d92315b

Please sign in to comment.