-
Notifications
You must be signed in to change notification settings - Fork 6
Update development setup and CI workflows #59
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
base: main
Are you sure you want to change the base?
Conversation
Fix #57. Fix #58. - Refactor the development environment setup in `CONTRIBUTING.md` to use conda directly. - Add new environment files: `environment-dev.yml` for development and `environment-docs.yml` for documentation. - Introduce scripts for setting up the environment, running tests, and linting. - Update GitHub Actions workflows to improve documentation and testing processes, including caching and conditional execution based on changes. - Remove the `pixi.lock` file as it is no longer needed. - Adjust pre-commit configuration to exclude specific files and improve CI integration. - Update Python version support in `pyproject.toml` and `meta.yaml` to include Python 3.13 and require conda version 24.5.0.
- Pin Miniconda setup action to a specific commit for stability. - Skip post cleanup for Miniconda installation. - Adjust configuration for ARM64 runners to ensure compatibility. - Remove unnecessary parameters to streamline the setup process.
- Pin the `alls-green` action to a specific commit for consistency. - Remove unnecessary parameters in the Miniconda setup to streamline the process. - Update commands for installing packages and displaying conda information for better clarity.
…ove excluded files
- Add a new environment variable for Conda installation directory. - Pin actions to specific commits for consistency and stability. - Refactor package installation commands for clarity and efficiency. - Improve test command to handle long paths on Windows and enable parallel execution. - Streamline steps for installing dependencies and displaying Conda information.
…ility - Simplify the formatting of Conda installation commands in the tests.yml workflow. - Ensure consistent shell usage for running pip installations. - Streamline the installation of linting dependencies for clarity.
…ory context - Update the pip install command in tests.yml to specify the current directory with a dot (.) for clarity and correctness.
- Change the command for testing Conda self-registration from `conda self --help` to `python -m conda self --help` for improved compatibility and clarity.
…flow for improved compatibility.
- pre-commit | ||
# Development dependencies - install package in editable mode | ||
- pip: | ||
- -e . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we pass --no-deps
here too? 🤔
I'm not going to block this, and I understand where this is coming from and what you are trying to achieve, but I wish we could keep both methods, tbh. I'll miss my local workflow, but perhaps it can be replaced with a devcontainer file like we do in conda-libmamba-solver. |
Also, let's add |
Fix #57.
Fix #58.
CONTRIBUTING.md
to use conda directly.environment-dev.yml
for development andenvironment-docs.yml
for documentation.pixi.lock
file as it is no longer needed.pyproject.toml
andmeta.yaml
to include Python 3.13 and require conda version 24.5.0.