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

DEV - Update dev workflows and CI #801

Closed
wants to merge 18 commits into from
Closed

Conversation

trallard
Copy link
Collaborator

@trallard trallard commented Mar 26, 2024

Split from #792

Description

  • Remove OS-specific environment.yaml files as no longer needed
  • Update env files - server
  • Update environment file - core
  • Add note about updating dependencies
  • Update CI - remove unnecessary yaml files

Pull request checklist

  • Did you test this change locally?
  • Did you update the documentation (if required)?
  • Did you add/update relevant tests for this change (if required)?

Additional information

With this PR, at most, contributors/maintainers will need to regenerate/update their local conda environment.

How to test

💻 Locally:

  1. Regenerate your local conda development environment (should use conda-store-server/environment-dev.yaml
  2. Perform your usual development tasks such as running tests, building conda-store, etc.

To test the changes to the test GH workflows, you can use https://github.com/nektos/act and run the workflow or job accordingly. For example, to only run the conda-store integration tests: act -j "integration-test-conda-store-server"

@trallard trallard added area: documentation 📖 Improvements or additions to documentation type: enhancement 💅🏼 area: dependencies 📦 Issues related to conda-store dependencies status: in progress 🏗 labels Mar 26, 2024
Copy link

netlify bot commented Mar 26, 2024

Deploy Preview for conda-store ready!

Name Link
🔨 Latest commit 4f0242d
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/660be173734c4f0008411423
😎 Deploy Preview https://deploy-preview-801--conda-store.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@trallard trallard changed the title WIP - Update dev workflows and CI DEV - Update dev workflows and CI Mar 26, 2024
name: conda-store-server-dev
channels:
- conda-forge
- microsoft
- nodefaults
dependencies:
- python ==3.10
# conda builds
- conda ==23.5.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this particular pin?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems this was introduced in #522 -> going through the commits this seems was temporary while mamba-org/mamba#2715

Will remove it and see how it goes

@@ -68,21 +68,20 @@ Source = "https://github.com/conda-incubator/conda-store"
[tool.hatch.version]
path = "conda_store_server/__init__.py"

# when adding dev dependencies (not required conda-store-server) add them to the environment-dev.yaml file too
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am afraid that without a CI step that checks for this cross-file consistency, things will go out of sync eventually.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 - will have to add that in a separate PR (already have other CI changes that build on this PR to simplify stuff and add consistency checks)

Copy link
Collaborator Author

@trallard trallard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the quick and thorough review @jaimergp

.github/workflows/tests.yaml Outdated Show resolved Hide resolved
conda-store-server/environment-dev.yaml Outdated Show resolved Hide resolved
name: conda-store-server-dev
channels:
- conda-forge
- microsoft
- nodefaults
dependencies:
- python ==3.10
# conda builds
- conda ==23.5.2
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems this was introduced in #522 -> going through the commits this seems was temporary while mamba-org/mamba#2715

Will remove it and see how it goes

conda-store-server/environment-dev.yaml Outdated Show resolved Hide resolved
conda-store-server/environment.yaml Outdated Show resolved Hide resolved
@@ -68,21 +68,20 @@ Source = "https://github.com/conda-incubator/conda-store"
[tool.hatch.version]
path = "conda_store_server/__init__.py"

# when adding dev dependencies (not required conda-store-server) add them to the environment-dev.yaml file too
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 - will have to add that in a separate PR (already have other CI changes that build on this PR to simplify stuff and add consistency checks)

conda-store/environment.yaml Outdated Show resolved Hide resolved
@peytondmurray peytondmurray mentioned this pull request May 30, 2024
3 tasks
@trallard trallard mentioned this pull request Jul 1, 2024
3 tasks
@trallard trallard closed this Aug 12, 2024
@trallard trallard deleted the trallard/separate-deps branch October 23, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: dependencies 📦 Issues related to conda-store dependencies area: documentation 📖 Improvements or additions to documentation DO NOT MERGE status: needs changes 🧱 type: enhancement 💅🏼
Projects
Status: Done 💪🏾
Development

Successfully merging this pull request may close these issues.

3 participants