Commit graph

39 commits

Author SHA1 Message Date
Kumi 51fc0a393d
Update python-package.yml 2024-06-02 07:22:28 +02:00
Pfitzer, Julia 294a95f121 Fixed filenames, updated README. 2024-04-23 11:23:57 +02:00
jupfi 7428508be1 Splitting up deployment into different workflow files to avoid timeout. 2024-04-23 06:22:03 +02:00
jupfi 6d448e0857 Splitting up build into multiple jobs to avoid timeout. 2024-04-22 19:57:29 +02:00
jupfi 449c56c85e Removed matplotlib dependency. 2024-04-21 19:47:58 +02:00
jupfi 0e9c48f426 Typo. 2024-04-21 12:50:35 +02:00
jupfi ff86d8ebff Set up QEMU 2024-04-21 12:50:00 +02:00
jupfi 4e95820658 Activated venv again. 2024-04-21 12:24:43 +02:00
jupfi 8dc3d32fed Fixed typo. 2024-04-21 12:18:23 +02:00
jupfi 3d54fc30af Updated automatic deployment. 2024-04-21 12:16:39 +02:00
jupfi 620b5809ee Updated to cibuildwheel. 2024-04-20 12:10:36 +02:00
jupfi 815a3eb682 Build wheels with cibuildwheel 2024-04-20 12:05:07 +02:00
jupfi d71e29a901 Maybe like this? 2024-04-20 11:10:02 +02:00
jupfi 5c53365f2f Added submodule checkout 2024-04-20 11:02:18 +02:00
jupfi 8d625619d7 Updated dependencies for deployment. 2024-04-20 10:56:45 +02:00
jupfi bb97340bca Automatic PyPi deployment. 2024-04-20 10:53:00 +02:00
Kumi 13fe781396
Add GitHub Action for Ubuntu package build
Introduced a new GitHub workflow to automate the build process for a
Python package on Ubuntu. The workflow triggers on push and pull
requests and includes steps for updating the package list, installing
essentials like git, setting up Python 3.10, and handling dependencies.
It also includes the package installation and a post-install test to
confirm successful import. This automation ensures code integrity with
each update and simplifies the integration process for contributors.
2024-02-10 20:03:23 +01:00
Kumi aaa68e6973
Removed redundant Ubuntu-specific build workflow;
updated pip install flag

The project's CI configuration experienced two main updates:
- The Ubuntu-specific Python package build workflow was entirely
removed, likely due to standardization across different environments or
redundancy with other existing workflows.
- Python package installation in the main workflow was amended to
include the `--break-system-packages` pip flag, which indicates a shift
in handling dependencies that may conflict with system packages.

These changes may streamline the CI/CD process and address dependency
conflicts during package installation.
2024-02-10 16:36:18 +01:00
Kumi 853457de78
Updated CI and package import system
Refactored the CI workflows to include package installation and import
testing. Ensured package is importable after installation by creating a
new '__main__.py' module to check imports. This adds an extra validation
step to the CI process, catching potential import issues early. Import
statements in '__init__.py' have also been updated to use 'as' for
clarity and namespace control.
2024-02-10 16:32:58 +01:00
Kumi a137c3b914
Update Ubuntu workflow to include liblimesuite-dev
Ensured that liblimesuite-dev package is installed as part of the
dependencies for our GitHub Actions workflow. This is to address missing
development headers required for interfacing with LimeSuite in our
Python package build process.
2024-02-09 15:16:54 +01:00
Kumi 7aa4df9d2c
Standardize Python version syntax in CI config
Ensure the Python version is specified as a string in the Ubuntu
workflow configuration to prevent potential parsing issues by the
setup-python GitHub Action. This update aligns with the recommended
practices for YAML file consistency and compatibility.
2024-02-09 13:07:33 +01:00
Kumi 41bf2603d8
Refactor CI setup for Python 3.10
Upgraded the GitHub Actions workflow to explicitly set up Python 3.10.
Simplified the installation process by using pip to upgrade and install
necessary Python packages such as h5py, setuptools, wheel, and build,
rather than installing individual Python and pip packages via apt-get.
This ensures a more standardized and up-to-date environment for CI
processes. Removed explicit python3 references in favor of the
actions/setup-python environment, aligning with the GitHub Actions best
practices.
2024-02-09 13:05:36 +01:00
Kumi e0be3eec25
Updated Python command to specify version 3 for
build step

Modified the build command in the CI workflow to explicitly call Python
3 to ensure compatibility and avoid potential conflicts with systems
where Python 2 is the default. This change aligns the build process with
modern Python practices and reduces ambiguity in environments where
multiple Python versions are available.
2024-02-09 13:01:07 +01:00
Kumi 5ccb4e080b
Expand Ubuntu workflow setup with venv and Python
alias

Enhanced the GitHub Actions workflow for the Ubuntu environment by
including python3-venv to facilitate virtual environment management.
Additionally, established python-is-python3 to standardize the Python
command, ensuring consistency and avoiding potential versioning issues
across different setups.
2024-02-09 12:57:41 +01:00
Kumi df2341f08d
Enhance CI setup with python3-build addition
Upgraded our GitHub Actions CI Python package workflow for Ubuntu by
including the `python3-build` package during the dependency installation
phase. This addition ensures compatibility with projects that require
this specific package for building Python applications.
2024-02-09 12:55:44 +01:00
Kumi d13645c3a5
Add GitHub workflow for Ubuntu build; remove
token, update submodule

Introduced a new GitHub Actions workflow to automate Python package
builds on Ubuntu environments upon push or pull request events. This
addition ensures the compatibility of the package on the Ubuntu platform
and streamlines the continuous integration process.

Updated the limedriver submodule to the latest commit, keeping the
project in sync with recent upstream changes and maintaining the
integrity of external dependencies.
2024-02-09 12:53:59 +01:00
Kumi f47614763b
Update python-package.yml 2024-02-08 15:49:27 +01:00
Kumi e7dfa71ee3
Update python-package.yml 2024-02-08 15:46:22 +01:00
Kumi f7fe5ddf96
Update python-package.yml 2024-02-08 15:41:12 +01:00
Kumi 6dc4448bac
Update python-package.yml 2024-02-08 15:37:48 +01:00
Kumi 68c7539e4d
Update python-package.yml 2024-02-08 15:30:49 +01:00
Kumi 31b95cf7b8
Update python-package.yml 2024-02-08 15:26:47 +01:00
Kumi 3de2a45c8e
Update python-package.yml 2024-02-08 15:26:31 +01:00
Kumi 6fd453ff8e
Update python-package.yml 2024-02-08 15:24:47 +01:00
Kumi e8056bcf3d
Update python-package.yml 2024-02-08 15:21:25 +01:00
Kumi 4d2b00a30d
Update python-package.yml 2024-02-08 15:16:20 +01:00
Kumi 7cff57d967
Update python-package.yml 2024-02-08 15:14:17 +01:00
Kumi 338dc5667b
Update python-package.yml 2024-02-08 15:12:37 +01:00
Kumi 1de0396cbf
Create python-package.yml 2024-02-08 15:09:28 +01:00