Title: ifcopenshell-python: failing test on ifcopenshell-python-0.8.3 · Issue #6974 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: ifcopenshell-python: failing test on ifcopenshell-python-0.8.3 · Issue #6974 · IfcOpenShell/IfcOpenShell
X Title: ifcopenshell-python: failing test on ifcopenshell-python-0.8.3 · Issue #6974 · IfcOpenShell/IfcOpenShell
Description: Bug Description On ifcopenshell-python-0.8.3 tag and on branch v0.8.0, the test test/test_create_shape.py::TestGeomSettings::test_settings is failing, see log below. It seems that src/ifcopenshell-python/ifcopenshell/geom/main.py is miss...
Open Graph Description: Bug Description On ifcopenshell-python-0.8.3 tag and on branch v0.8.0, the test test/test_create_shape.py::TestGeomSettings::test_settings is failing, see log below. It seems that src/ifcopenshell-...
X Description: Bug Description On ifcopenshell-python-0.8.3 tag and on branch v0.8.0, the test test/test_create_shape.py::TestGeomSettings::test_settings is failing, see log below. It seems that src/ifcopenshell-...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6974
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ifcopenshell-python: failing test on ifcopenshell-python-0.8.3","articleBody":"### Bug Description\n\nOn ifcopenshell-python-0.8.3 tag and on branch v0.8.0, the test `test/test_create_shape.py::TestGeomSettings::test_settings` is failing, see log below.\n\nIt seems that `src/ifcopenshell-python/ifcopenshell/geom/main.py` is missing some key in `SETTING`, maybe?\n\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nnix-build-debug $ python -m pytest test/test_create_shape.py::TestGeomSettings::test_settings -vv\n==================================================== test session starts ====================================================\nplatform linux -- Python 3.12.10, pytest-8.3.5, pluggy-1.5.0 -- /home/augustin/repos/nixpkgs2/source/src/ifcopenshell-python/.venv/bin/python\ncachedir: .pytest_cache\nrootdir: /home/augustin/repos/nixpkgs2/source/src/ifcopenshell-python\nconfigfile: pyproject.toml\ncollected 1 item\n\ntest/test_create_shape.py::TestGeomSettings::test_settings FAILED [100%]\n\n========================================================= FAILURES ==========================================================\n______________________________________________ TestGeomSettings.test_settings _______________________________________________\n\nself = \u003ctest.test_create_shape.TestGeomSettings object at 0x7fc384aa2450>\n\n def test_settings(self):\n settings = ifcopenshell.geom.settings()\n> assert set(get_args(ifcopenshell.geom.SETTING)) == set(settings.setting_names())\nE AssertionError: assert {'weld-vertices', 'cgal-original-edges', 'no-clean-triangulation', 'debug', 'element-hierarchy', 'permissive-shape-reuse', 'no-wire-intersection-tolerance', 'generate-uvs', 'edge-arrows', 'angle-unit', 'precision', 'apply-default-materials', 'length-unit', 'enable-layerset-slicing', 'model-rotation', 'no-parallel-mapping', 'reorient-shells', 'convert-back-units', 'circle-segments', 'triangulation-type', 'use-world-coords', 'site-local-placement', 'mesher-angular-deflection', 'function-step-type', 'surface-colour', 'context-types', 'function-step-param', 'boolean-attempt-2d', 'context-ids', 'model-offset', 'use-python-opencascade', 'context-identifiers', 'keep-bounding-boxes', 'no-wire-intersection-check', 'unify-shapes', 'cache-shapes', 'iterator-output', 'no-normals', 'validate', 'force-space-transparency', 'precision-factor', 'disable-boolean-result', 'mesher-linear-deflection', 'layerset-first', 'use-material-names', 'dimensionality', 'compute-curvature', 'building-local-placement', 'disable-opening-subtractions'} == {'weld-vertices', 'cgal-original-edges', 'no-clean-triangulation', 'debug', 'element-hierarchy', 'permissive-shape-reuse', 'no-wire-intersection-tolerance', 'generate-uvs', 'precision', 'angle-unit', 'edge-arrows', 'defer-processing-first-element', 'apply-default-materials', 'length-unit', 'enable-layerset-slicing', 'model-rotation', 'no-parallel-mapping', 'reorient-shells', 'convert-back-units', 'circle-segments', 'use-world-coords', 'triangulation-type', 'max-offset', 'site-local-placement', 'mesher-angular-deflection', 'function-step-type', 'surface-colour', 'context-types', 'function-step-param', 'boolean-attempt-2d', 'context-ids', 'model-offset', 'use-python-opencascade', 'context-identifiers', 'no-wire-intersection-check', 'keep-bounding-boxes', 'unify-shapes', 'cache-shapes', 'iterator-output', 'no-normals', 'validate', 'precision-factor', 'force-space-transparency', 'disable-boolean-result', 'mesher-linear-deflection', 'layerset-first', 'use-material-names', 'apply-offset', 'dimensionality', 'compute-curvature', 'max-offset-deviation', 'building-local-placement', 'disable-opening-subtractions'}\nE\nE Extra items in the right set:\nE 'defer-processing-first-element'\nE 'max-offset-deviation'\nE 'max-offset'\nE 'apply-offset'\nE\nE Full diff:\nE {\nE 'angle-unit',\nE 'apply-default-materials',\nE - 'apply-offset',\nE 'boolean-attempt-2d',\nE 'building-local-placement',\nE 'cache-shapes',\nE 'cgal-original-edges',\nE 'circle-segments',\nE 'compute-curvature',\nE 'context-identifiers',\nE 'context-ids',\nE 'context-types',\nE 'convert-back-units',\nE 'debug',\nE - 'defer-processing-first-element',\nE 'dimensionality',\nE 'disable-boolean-result',\nE 'disable-opening-subtractions',\nE 'edge-arrows',\nE 'element-hierarchy',\nE 'enable-layerset-slicing',\nE 'force-space-transparency',\nE 'function-step-param',\nE 'function-step-type',\nE 'generate-uvs',\nE 'iterator-output',\nE 'keep-bounding-boxes',\nE 'layerset-first',\nE 'length-unit',\nE - 'max-offset',\nE - 'max-offset-deviation',\nE 'mesher-angular-deflection',\nE 'mesher-linear-deflection',\nE 'model-offset',\nE 'model-rotation',\nE 'no-clean-triangulation',\nE 'no-normals',\nE 'no-parallel-mapping',\nE 'no-wire-intersection-check',\nE 'no-wire-intersection-tolerance',\nE 'permissive-shape-reuse',\nE 'precision',\nE 'precision-factor',\nE 'reorient-shells',\nE 'site-local-placement',\nE 'surface-colour',\nE 'triangulation-type',\nE 'unify-shapes',\nE 'use-material-names',\nE 'use-python-opencascade',\nE 'use-world-coords',\nE 'validate',\nE 'weld-vertices',\nE }\n\ntest/test_create_shape.py:19: AssertionError\n===================================================== warnings summary ======================================================\n\u003cfrozen importlib._bootstrap>:488\n \u003cfrozen importlib._bootstrap>:488: DeprecationWarning: builtin type SwigPyPacked has no __module__ attribute\n\n\u003cfrozen importlib._bootstrap>:488\n \u003cfrozen importlib._bootstrap>:488: DeprecationWarning: builtin type SwigPyObject has no __module__ attribute\n\n\u003cfrozen importlib._bootstrap>:488\n \u003cfrozen importlib._bootstrap>:488: DeprecationWarning: builtin type swigvarlink has no __module__ attribute\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n================================================== short test summary info ==================================================\nFAILED test/test_create_shape.py::TestGeomSettings::test_settings - AssertionError: assert {'weld-vertices', 'cgal-original-edges', 'no-clean-triangulation', 'debug', 'element-hierarchy', 'permissive-shape-reuse', 'no-wire-intersection-tolerance', 'generate-uvs', 'edge-arrows', 'angle-unit', 'precision', 'apply-default-materials', 'length-unit', 'enable-layerset-slicing', 'model-rotation', 'no-parallel-mapping', 'reorient-shells', 'convert-back-units', 'circle-segments', 'triangulation-type', 'use-world-coords', 'site-local-placement', 'mesher-angular-deflection', 'function-step-type', 'surface-colour', 'context-types', 'function-step-param', 'boolean-attempt-2d', 'context-ids', 'model-offset', 'use-python-opencascade', 'context-identifiers', 'keep-bounding-boxes', 'no-wire-intersection-check', 'unify-shapes', 'cache-shapes', 'iterator-output', 'no-normals', 'validate', 'force-space-transparency', 'precision-factor', 'disable-boolean-result', 'mesher-linear-deflection', 'layerset-first', 'use-material-names', 'dimensionality', 'compute-curvature', 'building-local-placement', 'disable-opening-subtractions'} == {'weld-vertices', 'cgal-original-edges', 'no-clean-triangulation', 'debug', 'element-hierarchy', 'permissive-shape-reuse', 'no-wire-intersection-tolerance', 'generate-uvs', 'precision', 'angle-unit', 'edge-arrows', 'defer-processing-first-element', 'apply-default-materials', 'length-unit', 'enable-layerset-slicing', 'model-rotation', 'no-parallel-mapping', 'reorient-shells', 'convert-back-units', 'circle-segments', 'use-world-coords', 'triangulation-type', 'max-offset', 'site-local-placement', 'mesher-angular-deflection', 'function-step-type', 'surface-colour', 'context-types', 'function-step-param', 'boolean-attempt-2d', 'context-ids', 'model-offset', 'use-python-opencascade', 'context-identifiers', 'no-wire-intersection-check', 'keep-bounding-boxes', 'unify-shapes', 'cache-shapes', 'iterator-output', 'no-normals', 'validate', 'precision-factor', 'force-space-transparency', 'disable-boolean-result', 'mesher-linear-deflection', 'layerset-first', 'use-material-names', 'apply-offset', 'dimensionality', 'compute-curvature', 'max-offset-deviation', 'building-local-placement', 'disable-opening-subtractions'}\n\n Extra items in the right set:\n 'defer-processing-first-element'\n 'max-offset-deviation'\n 'max-offset'\n 'apply-offset'\n\n Full diff:\n {\n 'angle-unit',\n 'apply-default-materials',\n - 'apply-offset',\n 'boolean-attempt-2d',\n 'building-local-placement',\n 'cache-shapes',\n 'cgal-original-edges',\n 'circle-segments',\n 'compute-curvature',\n 'context-identifiers',\n 'context-ids',\n 'context-types',\n 'convert-back-units',\n 'debug',\n - 'defer-processing-first-element',\n 'dimensionality',\n 'disable-boolean-result',\n 'disable-opening-subtractions',\n 'edge-arrows',\n 'element-hierarchy',\n 'enable-layerset-slicing',\n 'force-space-transparency',\n 'function-step-param',\n 'function-step-type',\n 'generate-uvs',\n 'iterator-output',\n 'keep-bounding-boxes',\n 'layerset-first',\n 'length-unit',\n - 'max-offset',\n - 'max-offset-deviation',\n 'mesher-angular-deflection',\n 'mesher-linear-deflection',\n 'model-offset',\n 'model-rotation',\n 'no-clean-triangulation',\n 'no-normals',\n 'no-parallel-mapping',\n 'no-wire-intersection-check',\n 'no-wire-intersection-tolerance',\n 'permissive-shape-reuse',\n 'precision',\n 'precision-factor',\n 'reorient-shells',\n 'site-local-placement',\n 'surface-colour',\n 'triangulation-type',\n 'unify-shapes',\n 'use-material-names',\n 'use-python-opencascade',\n 'use-world-coords',\n 'validate',\n 'weld-vertices',\n }\n=============================================== 1 failed, 3 warnings in 0.38s ===============================================\n```","author":{"url":"https://github.com/autra","@type":"Person","name":"autra"},"datePublished":"2025-08-01T15:25:46Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6974"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5d1825dc-0c42-5636-0f5e-2082e755bec2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C81A:3C5464:2D2FFE:3E0E9D:6B04B979 |
| html-safe-nonce | 74a83a86cb8dcc3dac6840c694ba36e072de98ecec188f55278695e0ebb3438c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODFBOjNDNTQ2NDoyRDJGRkU6M0UwRTlEOjZCMDRCOTc5IiwidmlzaXRvcl9pZCI6IjU1NTIxNTA3OTU2NjUwNjIyNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6ebf304360b1384270cb6998da4f2932e92c48a9861ccda7aa2a185f26d75231 |
| hovercard-subject-tag | issue:3284300899 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/6974/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46bc603c157040bc00588095096daf4587f266df08af0dc0c91799189675c30d/IfcOpenShell/IfcOpenShell/issues/6974 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46bc603c157040bc00588095096daf4587f266df08af0dc0c91799189675c30d/IfcOpenShell/IfcOpenShell/issues/6974 |
| og:image:alt | Bug Description On ifcopenshell-python-0.8.3 tag and on branch v0.8.0, the test test/test_create_shape.py::TestGeomSettings::test_settings is failing, see log below. It seems that src/ifcopenshell-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | autra |
| hostname | github.com |
| expected-hostname | github.com |
| None | 378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7 |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b032e77f1ea437ede6c115446a0a467709b468e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width