Skip to content

Move current Octue SDK code into `twined` subpackage

Choose a tag to compare

@github-actions github-actions released this 05 Aug 19:32
1b34ab9

Contents (#737)

IMPORTANT: There are 4 breaking changes.

Fixes

  • Update command in dockerfiles to use new octue twined CLI

Refactoring

  • 💥 BREAKING CHANGE: Move Twined-related octue code into twined subpackage
  • 💥 BREAKING CHANGE: Rename OCTUE_SERVICES_TOPIC_NAME to TWINED_SERVICES_TOPIC_NAME
  • 💥 BREAKING CHANGE: Move octue.runner to octue.twined.runner
  • 💥 BREAKING CHANGE: Remove unused folders, isfolder, and isfile utils
  • Merge TwinedEncoder with OctueJSONEncoder
  • Rename scripts

Testing

  • Restructure test directories
  • Remove unused base test method

Upgrade instructions

💥 Move Twined-related `octue` code into `twined` subpackage

Import Twined-related code that was formerly in octue from octue.twined

💥 Rename `OCTUE_SERVICES_TOPIC_NAME` to `TWINED_SERVICES_TOPIC_NAME`

Use the TWINED_SERVICES_TOPIC_NAME envvar instead of OCTUE_SERVICES_TOPIC_NAME and ensure its value ends in octue.twined.services

💥 Move `octue.runner` to `octue.twined.runner`

Use the new import path: from octue.twined.runner import Runner (note that from octue.twined import Runner will not work)

💥 Remove unused `folders`, `isfolder`, and `isfile` utils

Stop using the get_file_name_from_strand, isfolder, and isfile functions