Tags: hyperskill/hs-test-python
Tags
Release 052025 (#100) * Update Python version and refactor CI/CD pipeline Upgraded Python version to 3.10.13. Refactored GitHub Actions workflows, renamed 'main.yml' to 'ci.yml', introduced new workflows for auto-formatter, and author assignment. Moreover, the 'requirements.txt' and 'setup.py' files have been removed as dependencies are managed by Poetry. (cherry picked from commit 5300951) * Refactor codebase to use pathlib and type annotations The codebase has been refactored to use the pathlib module for file handling operations, replacing the os module. Additionally, type annotations have been added throughout the codebase to improve readability and facilitate static type checking. These changes aim to enhance both the maintainability and reliability of the code. (cherry picked from commit e2ade20) * Update workflow configurations for Github Actions Modified the `.github/workflows/ci.yml` and `.github/workflows/auto-format.yml` files to streamline operations. Added a concurrency control which allows concurrent jobs to run in the workflow, and updated the names of the listed branches by removing unnecessary quotes. Also renamed `test-ubuntu` to `test` while improving its descriptor in the CI workflow. (cherry picked from commit f525391) * Update Poetry install command in CI config Updated the poetry install command in the continuous integration configuration (".github/workflows/ci.yml"). Removed the other flags and just added the "--sync" option for the Poetry install command to enforce a correct and complete installation of dependencies. (cherry picked from commit 9f8ec79) * Update poetry install command in workflow files The poetry install command in both '.github/workflows/actions/prepare/action.yml' and '.github/workflows/ci.yml' workflow files has been updated. The new command now includes '--no-root' option for better control of the installation process and removed the '--only main,dev' options to ensure all necessary dependencies are installed. (cherry picked from commit 048b9cc) * Refactor base_searcher and stage_test for improved exception handling and type annotations * Refactor base_searcher to improve path handling and enhance readability * Refactor base_searcher to simplify source path handling and improve clarity * Improve syntax error messages in eval tests * Refactor error messages in test cases for clarity and consistency * Update GitHub Actions workflow to use Python 3.12 and latest action versions * Add CI workflow for linting, type checking, and testing with multiple Python versions * Migrate project to Poetry for dependency management and update Python version requirements * Backend: Auto format * Update CI workflow to use arc-runners-small for Python versions 3.10, 3.11, and 3.12 * Enhance CI workflow to support Poetry installation on both Unix and Windows environments * Refactor graph type handling and update requirements for cross-platform compatibility * Add type hints to test files for improved clarity and type checking * Add type hints to test files for improved clarity and type checking * Add type hints to test file for improved clarity and type checking * Add type hints to test file for improved clarity and type checking * Add CheckResult import to test files for enhanced result checking * Add type hints to test files for improved clarity and type checking * Refactor CI workflow and add type hint for OutcomeError in stage_test.py * Refactor matplotlib_handler to use direct import for Axes and improve exception handling in stage_test * Backend: Auto format * Enhance error message normalization in ExpectedFailTest for improved feedback clarity * Backend: Auto format * Update CI workflow to use latest Ubuntu and Windows runners with multiple Python versions * Enhance error handling and platform-specific command execution in Python executor * Backend: Auto format * Enhance error handling and platform-specific command execution in Python executor * Enhance error handling and platform-specific command execution in Python executor * Backend: Auto format * Refactor python_executor to use is_windows utility for OS checks * Enhance error handling and Windows compatibility in failure handler and process wrapper * Enhance traceback formatting in failure handler and update CI workflow for Windows compatibility * Backend: Auto format * Enhance input handling in process wrapper to ensure newline termination and improve error handling * Backend: Auto format * Enhance CI workflow to include Python 3.11 and 3.12 for Windows compatibility * Enhance CI workflow to configure environment variables for Windows compatibility * Enhance CI workflow to uncomment Python versions for Ubuntu and macOS * Add GitHub Actions workflow for automatic code formatting with ruff * Enhance CI workflow to update wheel URLs and manage releases automatically * Refactor CI workflows to improve job names and streamline formatting steps * Update CI workflow to rename lint job and streamline ruff formatting steps * fix: * fix: * Update dependencies: bump psutil to 7.0.0, mypy to 1.13.0, pandas to 2.2.3, scipy to 1.15.3, and ruff to 0.7.3 * Backend: Auto format * Add .go-version and .node-version files; update action.yml to dynamically set Node.js and Go versions * Add support for Python 3.13 in CI workflow * Add Go version 1.21 to .go-version file * Fix: dynamically import PlottingTest and update __all__ list * Fix: dynamically import PlottingTest and update __all__ list * Backend: Auto format --------- Co-authored-by: meanmail <meanmail@meanmail.ru> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
PreviousNext