Skip to content

Commit

Permalink
ENH: Support 3.11 (#47)
Browse files Browse the repository at this point in the history
* ENH: Support 3.11

* add py311 in earnest

* fix docbuild

* add in logo spec

Co-authored-by: Alex Kaszynski <[email protected]>
  • Loading branch information
larsoner and akaszynski committed Jan 13, 2023
1 parent 5dd0810 commit ce69762
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 167 deletions.
22 changes: 0 additions & 22 deletions .ci/azure-publish-dist.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .ci/azure-setup.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .ci/azure-steps.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .ci/build_wheels.sh

This file was deleted.

38 changes: 0 additions & 38 deletions .ci/macos-install-python.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/setup_headless_display.sh

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build and upload to PyPI

on: [push, pull_request]
on:
pull_request:
push:
tags:
- "*"

jobs:
build_wheels:
Expand All @@ -14,7 +18,7 @@ jobs:
- uses: actions/checkout@v3

- name: Build wheels
uses: pypa/cibuildwheel@v2.8.1
uses: pypa/cibuildwheel@v2.11.4

- uses: actions/upload-artifact@v3
with:
Expand Down
22 changes: 13 additions & 9 deletions .github/workflows/docbuild.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
name: Documentation Build

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
tags:
- "*"

jobs:
docs_build:
runs-on: ubuntu-22.04

env:
PYANSYS_OFF_SCREEN: True
DISPLAY: ':99.0'

steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'
cache: 'pip'
cache-dependency-path: |
**/requirements*.txt
- name: Install and start virtual framebuffer
run: |
.ci/setup_headless_display.sh
- name: Setup headless display
uses: pyvista/setup-headless-display-action@v1

- name: Install pymeshfix
run: |
pip install .
run: pip install .

- name: Build Documentation
run: |
Expand Down
4 changes: 4 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@
html_theme_options = {
"show_prev_next": False,
"github_url": "https://github.com/pyvista/pymeshfix",
"logo": {
"image_light": "pyvista_logo_sm.png",
"image_dark": "pyvista_logo_sm.png",
},
}


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
"setuptools>=42",
"wheel>=0.33.0",
"cython>=0.29.0",
"cython>=0.29.32",
"oldest-supported-numpy"
]

Expand Down
2 changes: 1 addition & 1 deletion requirements_docs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Sphinx==5.0.2
Sphinx==6.1.3
pydata-sphinx-theme
matplotlib
pyvista
Expand Down
24 changes: 12 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@
version=__version__,
description="Repairs triangular meshes",
long_description=open(readme_file).read(),
long_description_content_type="text/x-rst",
author="Alex Kaszynski",
author_email="[email protected]",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
long_description_content_type='text/x-rst',
author='Alex Kaszynski',
author_email='[email protected]',
license='MIT',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
python_requires=">=3.7",
url="https://github.com/pyvista/pymeshfix",
Expand Down

0 comments on commit ce69762

Please sign in to comment.