Skip to content

Commit ce69762

Browse files
larsonerakaszynski
andauthored
ENH: Support 3.11 (#47)
* ENH: Support 3.11 * add py311 in earnest * fix docbuild * add in logo spec Co-authored-by: Alex Kaszynski <[email protected]>
1 parent 5dd0810 commit ce69762

12 files changed

+37
-167
lines changed

.ci/azure-publish-dist.yml

-22
This file was deleted.

.ci/azure-setup.yml

-19
This file was deleted.

.ci/azure-steps.yml

-26
This file was deleted.

.ci/build_wheels.sh

-29
This file was deleted.

.ci/macos-install-python.sh

-38
This file was deleted.

.ci/setup_headless_display.sh

-8
This file was deleted.

.github/workflows/build-and-deploy.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Build and upload to PyPI
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
push:
6+
tags:
7+
- "*"
48

59
jobs:
610
build_wheels:
@@ -14,7 +18,7 @@ jobs:
1418
- uses: actions/checkout@v3
1519

1620
- name: Build wheels
17-
uses: pypa/cibuildwheel@v2.8.1
21+
uses: pypa/cibuildwheel@v2.11.4
1822

1923
- uses: actions/upload-artifact@v3
2024
with:

.github/workflows/docbuild.yml

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
name: Documentation Build
22

3-
on: [push, pull_request, workflow_dispatch]
3+
on:
4+
pull_request:
5+
push:
6+
tags:
7+
- "*"
48

59
jobs:
610
docs_build:
711
runs-on: ubuntu-22.04
812

913
env:
1014
PYANSYS_OFF_SCREEN: True
11-
DISPLAY: ':99.0'
1215

1316
steps:
1417
- uses: actions/checkout@v2
1518

1619
- name: Setup Python
17-
uses: actions/setup-python@v2.2.2
20+
uses: actions/setup-python@v4
1821
with:
19-
python-version: 3.9
22+
python-version: '3.10'
23+
cache: 'pip'
24+
cache-dependency-path: |
25+
**/requirements*.txt
2026
21-
- name: Install and start virtual framebuffer
22-
run: |
23-
.ci/setup_headless_display.sh
27+
- name: Setup headless display
28+
uses: pyvista/setup-headless-display-action@v1
2429

2530
- name: Install pymeshfix
26-
run: |
27-
pip install .
31+
run: pip install .
2832

2933
- name: Build Documentation
3034
run: |

doc/conf.py

+4
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@
116116
html_theme_options = {
117117
"show_prev_next": False,
118118
"github_url": "https://github.com/pyvista/pymeshfix",
119+
"logo": {
120+
"image_light": "pyvista_logo_sm.png",
121+
"image_dark": "pyvista_logo_sm.png",
122+
},
119123
}
120124

121125

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires = [
33
"setuptools>=42",
44
"wheel>=0.33.0",
5-
"cython>=0.29.0",
5+
"cython>=0.29.32",
66
"oldest-supported-numpy"
77
]
88

requirements_docs.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Sphinx==5.0.2
1+
Sphinx==6.1.3
22
pydata-sphinx-theme
33
matplotlib
44
pyvista

setup.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,18 @@
4444
version=__version__,
4545
description="Repairs triangular meshes",
4646
long_description=open(readme_file).read(),
47-
long_description_content_type="text/x-rst",
48-
author="Alex Kaszynski",
49-
author_email="[email protected]",
50-
license="MIT",
51-
classifiers=[
52-
"Development Status :: 4 - Beta",
53-
"Intended Audience :: Science/Research",
54-
"License :: OSI Approved :: MIT License",
55-
"Programming Language :: Python :: 3.7",
56-
"Programming Language :: Python :: 3.8",
57-
"Programming Language :: Python :: 3.9",
58-
"Programming Language :: Python :: 3.10",
47+
long_description_content_type='text/x-rst',
48+
author='Alex Kaszynski',
49+
author_email='[email protected]',
50+
license='MIT',
51+
classifiers=['Development Status :: 4 - Beta',
52+
'Intended Audience :: Science/Research',
53+
'License :: OSI Approved :: MIT License',
54+
'Programming Language :: Python :: 3.7',
55+
'Programming Language :: Python :: 3.8',
56+
'Programming Language :: Python :: 3.9',
57+
'Programming Language :: Python :: 3.10',
58+
'Programming Language :: Python :: 3.11',
5959
],
6060
python_requires=">=3.7",
6161
url="https://github.com/pyvista/pymeshfix",

0 commit comments

Comments
 (0)