Coder Social home page Coder Social logo

python-extension-common's Introduction

python-extension-common's People

Contributors

ahsimb avatar ckunki avatar dejanmihajlovic avatar

Watchers

 avatar  avatar  avatar  avatar

python-extension-common's Issues

Make printing the activation commands optional

We don't always want to see the activation commands printed in the console. In particular, in AI-Lab they may confuse the user. She may think that they are still part of the installation routine, while the AI-Lab runs the session level activation when it opens a DB connection.

  • There should be a parameter that turns the printing of the activation commands on/off. The default value should be ON.
  • When printing the messages, only the session level activation command should be printed in full. Then there should be a warning, that applying a similar activation command at the system level may deactivate languages that were activated since this message was printed.

Investigate how to delete an SLC uploaded by an integration test

Multiple integration tests use the same instance of the DockerDb. Most tests upload an SLC to the bucketfs of the ITDE. Currently, we have interference between tests, as the containers uploaded by previous tests are not removed.

Removing a container has side effects.

  • When a file gets deleted, then uploading another file with the same name immediately afterward fails. This means there should be a delay between running subsequent tests if they use the same bucketfs file name.
  • A language container is an archive, that gets unzipped in the bucketfs. Apparently, the deletion of the tar file causes the deletion of the unzipped directory. This needs to be confirmed and verified. We need to find out if this has an impact on the duration of the required delay between tests.

PEC: Update to Python 3.10

Update

  1. minimum Python version in file pyproject.toml
  2. dependencies poetry update
  3. Matrix build definitions in files in .github/workflows: Proposal: Update PTB and re-generate workflows
  4. actions/checkout to v4 in GitHub workflows

Create the documentation

Initially, the language container deployment documentation can be taken from the Transformers extension repo.

PEC: Use plugin pytest-saas

  • Replace dependencies to git repositories by dependencies to pypi packages
  • Add dependency to pytest-exasol-saas
  • Replace fixtures

Add a function validating the completion of the SLC deployment.

The function should try to create a UDF and run it at all nodes. These steps need to be repeated until success or timeout.
Since the success is not 100% reliable proof that all files have been extracted from the archive, (some packages, not used by the UDF, may yet be extracted) the function should take a fixed time pause at the end.

The LanguageContainerDeployer should use this function in its container uploading process.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.