Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monorepo for server-side components #417

Merged
merged 168 commits into from
May 31, 2022
Merged

Monorepo for server-side components #417

merged 168 commits into from
May 31, 2022

Conversation

achimnol
Copy link
Member

This is a testing/preparation of mono-repository of server-side components.

@achimnol achimnol added this to the 22.09 milestone Apr 27, 2022
@achimnol achimnol added area:infrastructure Infrastructure-related issues type:maintenance Maintenance issue. labels Apr 27, 2022
@achimnol achimnol self-assigned this Apr 27, 2022
* TODO: let towncrier auto-detect it
* Just put any 3rd-party dependency into requirements.txt and pants
  will generate the packages with actual dependencies by analyzing
  all imports in each distribution codebase.
- It single-sources the version number from VERSION.
- It takes the description, license, name from kwargs.
- It validates the package name to start with "backend.ai-".
- It takes the long-description from package-specific README.
- Include py.typed
- Remove no longer used requirements directory
- Set default author when generating setup.py
@achimnol achimnol marked this pull request as ready for review May 31, 2022 12:43
@achimnol achimnol merged commit f43b796 into main May 31, 2022
@achimnol achimnol deleted the monorepo-for-server branch May 31, 2022 14:53
achimnol added a commit that referenced this pull request Nov 24, 2022
…891)

* test: Add tests for `common.docker.get_docker_connector()`
* test: Migrate the client SDK test suite (missing in #417...)
* style: Apply black & isort to the newly migrated client test codes
* fix: Merge `ai.backend.client.test_utils` to `ai.backend.testutils`
* ci: Use larger action runners (8 cores) for typecheck, test, and coverage workflows
* test: Update vfolder download retry header check and test code
* feat: Add allowlist/blocklist in `cli.loader.load_entry_points()`
  - In pex-based test environments, there are no manager/agent/etc.
    CLI entrypoints importable but scanned via
    `ai.backend.plug.entrypoint`.
    We need to import only `ai.backend.client.cli` for the client test suite.
* ci: Adopt `pytest-custom_exit_code`
  - Pants treats any non-zero exit code as a failure.  Since Pants
    executes the test suite module-by-module, some test modules that only
    contains integration tests results in "no tests collected" (exit code
    5) response from pytest processes, which is a bogus error.

Co-authored-by: Sanghun Lee <sanghun@lablup.com>
@Yaminyam Yaminyam added the size:XL 500~ LoC label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:infrastructure Infrastructure-related issues size:XL 500~ LoC type:maintenance Maintenance issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants