Skip to content

Prep release#20

Merged
gonzalocasas merged 38 commits intomainfrom
prep-release
Mar 16, 2026
Merged

Prep release#20
gonzalocasas merged 38 commits intomainfrom
prep-release

Conversation

@gonzalocasas
Copy link
Copy Markdown
Member

@gonzalocasas gonzalocasas commented Mar 14, 2026

  • Remove compas_fab as dependency
  • Add uv as suggested package manager to install
  • Removed some Rhino 7 post installation hooks leftovers
  • Update GH components to build as CPython components
  • Added type hints across the board
  • Migrated documentation to mkdocs

This is how the new docs look like:

image image

What type of change is this?

  • Bug fix in a backwards-compatible manner.
  • New feature in a backwards-compatible manner.
  • Breaking change: bug fix or new feature that involve incompatible API changes.
  • Other (e.g. doc update, configuration, etc)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I added a line to the CHANGELOG.md file in the Unreleased section under the most fitting heading (e.g. Added, Changed, Removed).
  • I ran all tests on my computer and it's all green (i.e. invoke test).
  • I ran lint on my computer and there are no errors (i.e. invoke lint).
  • I added new functions/classes and made them available on a second-level import, e.g. compas.datastructures.Mesh.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added necessary documentation (if appropriate)

@gonzalocasas gonzalocasas requested a review from jckenny59 March 14, 2026 09:52
Copy link
Copy Markdown
Collaborator

@jckenny59 jckenny59 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 I broke a lot of the method annotations on the next branch with a merge conflict. But updated again 💯

Comment on lines 1 to +12
attrs >=17.4
black >=22.12.0
bump-my-version
compas_invocations2
compas_invocations2[mkdocs] @ git+https://github.com/compas-dev/compas_invocations2.git@mkdocs
invoke >=0.14
pytest
pythonnet
rhino-stubs
ruff
sphinx_compas2_theme
tomlkit
twine
wheel
wheel No newline at end of file
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gonzalocasas I am not sure why the docs side is failing, this is kind of out of my wheel house.... but this was the suggested update from gemini.

# requirements-dev.txt
# add this line at the very top:
-r requirements.txt

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this makes much sense... also not sure if it was because I updated the uv.lock on my side ¯_(ツ)_/¯

Comment on lines +11 to +12
from compas_invocations2 import grasshopper
from compas_invocations2 import mkdocs
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other gemini suggestion was to change:

# tasks.py
# remove this line:
from compas_invocations2 import mkdocs

# change this line:
mkdocs.docs,
# to:
docs.docs,

Again not my area of expertise really, but let me know if these make any sense, or what next to do :)

@gonzalocasas gonzalocasas merged commit 6dde836 into main Mar 16, 2026
16 of 17 checks passed
@gonzalocasas gonzalocasas deleted the prep-release branch March 16, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants