Skip to content

Commit

Permalink
Merge pull request #2502 from jakevdp/fix-ci
Browse files Browse the repository at this point in the history
MAINT: fix CI
  • Loading branch information
jakevdp authored Oct 17, 2021
2 parents 8ff06cf + 29f609f commit 24c332c
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.6', '3.7', '3.8' ]
python-version: [ '3.7', '3.8', '3.9' ]
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
name: ${{ matrix.build-type }}
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
name: black-flake8
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: "3.9"
- name: Check formatting with black
run: |
pip install black
Expand Down
2 changes: 1 addition & 1 deletion altair/sphinxext/altairgallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def main(app):

def setup(app):
app.connect("builder-inited", main)
app.add_stylesheet("altair-gallery.css")
app.add_css_file("altair-gallery.css")
app.add_config_value("altair_gallery_dir", "gallery", "env")
app.add_config_value("altair_gallery_ref", "example-gallery", "env")
app.add_config_value("altair_gallery_title", "Example Gallery", "env")
Expand Down
6 changes: 3 additions & 3 deletions altair/sphinxext/schematable.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def type_description(schema):


def prepare_table_header(titles, widths):
"""Build docutil empty table """
"""Build docutil empty table"""
ncols = len(titles)
assert len(widths) == ncols

Expand All @@ -60,7 +60,7 @@ def prepare_table_header(titles, widths):


def add_class_def(node, classDef):
"""Add reference on classDef to node """
"""Add reference on classDef to node"""

ref = addnodes.pending_xref(
reftarget=classDef,
Expand All @@ -79,7 +79,7 @@ def add_class_def(node, classDef):


def add_text(node, text):
"""Add text with inline code to node """
"""Add text with inline code to node"""
is_text = True
for part in reCode.split(text):
if part:
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@
# and
# https://github.com/rtfd/sphinx_rtd_theme/issues/117
def setup(app):
app.add_stylesheet("theme_overrides.css")
app.add_stylesheet("custom.css")
app.add_css_file("theme_overrides.css")
app.add_css_file("custom.css")

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
entrypoints
jinja2
jsonschema
jsonschema<4.0
numpy
pandas>=0.18
toolz
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@ def find_packages(top=HERE):
packages=find_packages(),
include_package_data=True,
install_requires=get_install_requirements("requirements.txt"),
python_requires=">=3.6",
python_requires=">=3.7",
extras_require={"dev": get_install_requirements("requirements_dev.txt")},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)

0 comments on commit 24c332c

Please sign in to comment.