Skip to content

Added UpdateBHoMPackages method to update missing/old python packages. - #248

Merged
jamesramsden-bh merged 7 commits into
developfrom
Python_Toolkit-#247-UpdateBHoMPackages
Sep 10, 2026
Merged

Added UpdateBHoMPackages method to update missing/old python packages.#248
jamesramsden-bh merged 7 commits into
developfrom
Python_Toolkit-#247-UpdateBHoMPackages

Conversation

@Tom-Kingstone

Copy link
Copy Markdown
Contributor

NOTE: Depends on

Issues addressed by this PR

Closes #247

This method specifically runs the InstallPackageLocal method with the expected python environment name.

It is up to implementors of install methods to decide when this method needs to be used.

Test files

Changelog

Additional comments

@Tom-Kingstone Tom-Kingstone self-assigned this Sep 9, 2026
@Tom-Kingstone Tom-Kingstone added the type:feature New capability or enhancement label Sep 9, 2026
@Tom-Kingstone

Tom-Kingstone commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

@BHoMBot check required

@bhombot-ci

bhombot-ci Bot commented Sep 9, 2026

Copy link
Copy Markdown

@Tom-Kingstone to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check core
  • check null-handling
  • check serialisation
  • check versioning
  • check installer

There are 19 requests in the queue ahead of you.

@bhombot-ci

bhombot-ci Bot commented Sep 9, 2026

Copy link
Copy Markdown

@Tom-Kingstone to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check core
  • check null-handling
  • check serialisation
  • check versioning
  • check installer

There are 21 requests in the queue ahead of you.

@bhombot-ci

bhombot-ci Bot commented Sep 9, 2026

Copy link
Copy Markdown

The check installer has already been run previously and recorded as a successful check. This check has not been run again at this time.

@Tom-Kingstone

Copy link
Copy Markdown
Contributor Author

Testing with LadybugTools_Toolkit, this doesn't fix where the bhom subpackage isn't specified (as pyproject.toml does not allow editable dependencies which is really annoying). using this with LadybugTools_Toolkit will install missing or out of date packages defined in pyproject.toml, but python_toolkit isn't specified as a dependency as it's an editable install.

Back to the drawing board

@jamesramsden-bh jamesramsden-bh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have tested with a couple of venvs, reinstalling them, and just updating. All fine.

@jamesramsden-bh

Copy link
Copy Markdown
Contributor

@BHoMBot check required

@bhombot-ci

bhombot-ci Bot commented Sep 10, 2026

Copy link
Copy Markdown

@jamesramsden-bh to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check core
  • check null-handling
  • check serialisation
  • check versioning
  • check installer

There are 6 requests in the queue ahead of you.

@Tom-Kingstone

Copy link
Copy Markdown
Contributor Author

@BHoMBot check copyright-compliance

@bhombot-ci

bhombot-ci Bot commented Sep 10, 2026

Copy link
Copy Markdown

@Tom-Kingstone to confirm, the following actions are now queued:

  • check copyright-compliance

There are 4 requests in the queue ahead of you.

@Tom-Kingstone

Copy link
Copy Markdown
Contributor Author

@BHoMBot check ready-to-merge

@bhombot-ci

bhombot-ci Bot commented Sep 10, 2026

Copy link
Copy Markdown

@Tom-Kingstone to confirm, the following actions are now queued:

  • check ready-to-merge

There are 4 requests in the queue ahead of you.

@jamesramsden-bh
jamesramsden-bh merged commit f8a63a6 into develop Sep 10, 2026
19 checks passed
@jamesramsden-bh
jamesramsden-bh deleted the Python_Toolkit-#247-UpdateBHoMPackages branch September 10, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New capability or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add method to allow easier updating of packages without needing reinstall of entire python environments

2 participants