Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update API wheel version #342

Merged
merged 4 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
History
=======

v0.8.0
randallfrank marked this conversation as resolved.
Show resolved Hide resolved
------
* Improved object transmission support
* Support remote objects: ENS_GROUP, etc
* Simplified APIs for particle tracing
* Update documentation for ENS_SCENE and ENS_GEOM objects

v0.7.0
------
* Remove Python 3.8 support. Added Python 3.12 support
Expand Down
2 changes: 2 additions & 0 deletions doc/source/object_documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ operations that can only be performed via that interface.
ansys.api.pyensight.ens_case.ENS_CASE
ansys.api.pyensight.ens_flipbook.ENS_FLIPBOOK
ansys.api.pyensight.ens_frame.ENS_FRAME
ansys.api.pyensight.ens_geom.ENS_GEOM
ansys.api.pyensight.ens_globals.ENS_GLOBALS
ansys.api.pyensight.ens_group.ENS_GROUP
ansys.api.pyensight.ens_lightsource.ENS_LIGHTSOURCE
Expand Down Expand Up @@ -68,6 +69,7 @@ operations that can only be performed via that interface.
ansys.api.pyensight.ens_polyline.ENS_POLYLINE
ansys.api.pyensight.ens_probe.ENS_PROBE
ansys.api.pyensight.ens_query.ENS_QUERY
ansys.api.pyensight.ens_scene.ENS_SCENE
ansys.api.pyensight.ens_source.ENS_SOURCE
ansys.api.pyensight.ens_spec.ENS_SPEC
ansys.api.pyensight.ens_state.ENS_STATE
Expand Down
346 changes: 173 additions & 173 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,173 +1,173 @@
[build-system]
requires = [
"flit_core>=3.2,<4"
]
build-backend = "flit_core.buildapi"

[project]
name = "ansys-pyensight-core"
version = "0.8.0.dev0"
description = "A python wrapper for Ansys EnSight"
readme = "README.rst"
requires-python = ">=3.9,<4"
license = {file = "LICENSE"}
authors = [{name = "ANSYS, Inc.", email = "[email protected]"}]
maintainers = [{name = "ANSYS, Inc.", email = "[email protected]"}]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

dependencies = [
"importlib-metadata>=4.0; python_version<='3.8'",
"ansys-api-pyensight==0.3.2",
"requests>=2.28.2",
"docker>=6.1.0",
"urllib3<2",
"numpy>=1.21.0",
"Pillow>=9.3.0"
]

[project.optional-dependencies]
dev = [
"build>=0.10.0",
"bump2version>=1.0.1",
"ipdb>=0.9.4",
"dill>=0.3.5.1",
"pre-commit>=3.3.3",
]
tests = [
"pytest==7.1.2",
"pytest-cov==4.1.0",
"dill>=0.3.5.1",
"pytest-mock==3.10.0",
"urllib3==1.26.10",
"requests>=2.28.2",
"docker>=6.1.0",
]
doc = [
"Sphinx==7.2.6",
"numpydoc==1.5.0",
"ansys-sphinx-theme==0.9.9",
"sphinx-copybutton==0.5.2",
"sphinx-gallery==0.13.0",
"sphinxcontrib-mermaid==0.9.2",
"docker>=6.1.0",
"matplotlib==3.7.2",
"requests>=2.28.2",
"sphinxcontrib.jquery==4.1",
"coverage-badge==1.1.0",
"sphinxcontrib-openapi==0.8.1"
]

[project.urls]
Documentation = "https://ensight.docs.pyansys.com/"
Homepage = "https://github.com/ansys/pyensight"
Source = "https://github.com/ansys/pyensight"
Tracker = "https://github.com/ansys/pyensight/issues"
Changelog = "https://github.com/ansys/pyensight/blob/main/CHANGELOG.rst"

[tool.flit.module]
name = "ansys.pyensight.core"

[tool.coverage.run]
branch = true

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if selfdebug",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"@(abc.)?abstractmethod",
"if TYPE_CHECKING:",
"def _repr_pretty_",
"self._pim_instance",
"self._pim_file_service",
"def _launch_ensight_with_pim"]

ignore_errors = true
show_missing = true

[tool.coverage.html]
show_contexts = true

[tool.black]
line-length = 100
src_paths = ["src/ansys", "doc"]

[tool.pytest.ini_options]
minversion = "7.1"
testpaths = [
"tests",
]
addopts = "--setup-show --cov=ansys.pyensight.core --cov-report html:coverage-html --cov-report term --cov-config=.coveragerc --capture=tee-sys --tb=native -p no:warnings"
markers =[
"integration:Run integration tests",
"smoke:Run the smoke tests",
"unit:Run the unit tests",
]
norecursedirs = ".git .idea"
filterwarnings = "ignore:.+:DeprecationWarning"


[tool.codespell]
ignore-words-list = "ro, te, pres"
quiet-level = 3
skip = "*.pyc,*.xml,*.gif,*.png,*.jpg,*.js,*.html,*.svg,tests/ensigth_api_test_assets.txt"

[tool.isort]
profile = "black"
skip_gitignore = true
force_sort_within_sections = true
line_length = 100
default_section = "THIRDPARTY"
filter_files = true
src_paths = ["ansys", "doc", "tests"]

[tool.bandit]
level = "HIGH"
number = "3"
recursive = true
exclude = ["venv/*", "tests/*"]

[tool.mypy]
python_version = 3.9
strict = false
namespace_packages = true
explicit_package_bases = true
exclude = ["tests/", "^doc"]
no_site_packages = true
follow_imports = "skip"

[[tool.mypy.overrides]]
module = ["grpc",
"grpc_health",
"grpc_bindings",
"requests",
"ansys",
"ansys.*",
"docker",
"dill",
"IPython.display",
"enve",
"urllib3",
"ensight",
"numpy",
"PIL",
"simple_upload_server.*"
]
ignore_missing_imports = true

[pydocstyle]
convention = "numpy"
[build-system]
requires = [
"flit_core>=3.2,<4"
]
build-backend = "flit_core.buildapi"
[project]
name = "ansys-pyensight-core"
version = "0.8.0.dev0"
description = "A python wrapper for Ansys EnSight"
readme = "README.rst"
requires-python = ">=3.9,<4"
license = {file = "LICENSE"}
authors = [{name = "ANSYS, Inc.", email = "[email protected]"}]
maintainers = [{name = "ANSYS, Inc.", email = "[email protected]"}]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"importlib-metadata>=4.0; python_version<='3.8'",
"ansys-api-pyensight==0.3.3",
"requests>=2.28.2",
"docker>=6.1.0",
"urllib3<2",
"numpy>=1.21.0",
"Pillow>=9.3.0"
]
[project.optional-dependencies]
dev = [
"build>=0.10.0",
"bump2version>=1.0.1",
"ipdb>=0.9.4",
"dill>=0.3.5.1",
"pre-commit>=3.3.3",
]
tests = [
"pytest==7.1.2",
"pytest-cov==4.1.0",
"dill>=0.3.5.1",
"pytest-mock==3.10.0",
"urllib3==1.26.10",
"requests>=2.28.2",
"docker>=6.1.0",
]
doc = [
"Sphinx==7.2.6",
"numpydoc==1.5.0",
"ansys-sphinx-theme==0.9.9",
"sphinx-copybutton==0.5.2",
"sphinx-gallery==0.13.0",
"sphinxcontrib-mermaid==0.9.2",
"docker>=6.1.0",
"matplotlib==3.7.2",
"requests>=2.28.2",
"sphinxcontrib.jquery==4.1",
"coverage-badge==1.1.0",
"sphinxcontrib-openapi==0.8.1"
]
[project.urls]
Documentation = "https://ensight.docs.pyansys.com/"
Homepage = "https://github.com/ansys/pyensight"
Source = "https://github.com/ansys/pyensight"
Tracker = "https://github.com/ansys/pyensight/issues"
Changelog = "https://github.com/ansys/pyensight/blob/main/CHANGELOG.rst"
[tool.flit.module]
name = "ansys.pyensight.core"
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if selfdebug",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"@(abc.)?abstractmethod",
"if TYPE_CHECKING:",
"def _repr_pretty_",
"self._pim_instance",
"self._pim_file_service",
"def _launch_ensight_with_pim"]
ignore_errors = true
show_missing = true
[tool.coverage.html]
show_contexts = true
[tool.black]
line-length = 100
src_paths = ["src/ansys", "doc"]
[tool.pytest.ini_options]
minversion = "7.1"
testpaths = [
"tests",
]
addopts = "--setup-show --cov=ansys.pyensight.core --cov-report html:coverage-html --cov-report term --cov-config=.coveragerc --capture=tee-sys --tb=native -p no:warnings"
markers =[
"integration:Run integration tests",
"smoke:Run the smoke tests",
"unit:Run the unit tests",
]
norecursedirs = ".git .idea"
filterwarnings = "ignore:.+:DeprecationWarning"
[tool.codespell]
ignore-words-list = "ro, te, pres"
quiet-level = 3
skip = "*.pyc,*.xml,*.gif,*.png,*.jpg,*.js,*.html,*.svg,tests/ensigth_api_test_assets.txt"
[tool.isort]
profile = "black"
skip_gitignore = true
force_sort_within_sections = true
line_length = 100
default_section = "THIRDPARTY"
filter_files = true
src_paths = ["ansys", "doc", "tests"]
[tool.bandit]
level = "HIGH"
number = "3"
recursive = true
exclude = ["venv/*", "tests/*"]
[tool.mypy]
python_version = 3.9
strict = false
namespace_packages = true
explicit_package_bases = true
exclude = ["tests/", "^doc"]
no_site_packages = true
follow_imports = "skip"
[[tool.mypy.overrides]]
module = ["grpc",
"grpc_health",
"grpc_bindings",
"requests",
"ansys",
"ansys.*",
"docker",
"dill",
"IPython.display",
"enve",
"urllib3",
"ensight",
"numpy",
"PIL",
"simple_upload_server.*"
]
ignore_missing_imports = true
[pydocstyle]
convention = "numpy"
Loading