Skip to content

Conversation

@IamLRBA
Copy link
Contributor

@IamLRBA IamLRBA commented Jan 6, 2026

Description

Removed all Conda package build, test, and publishing infrastructure. Updated documentation to guide Conda users to install CodeCarbon via pip, which works seamlessly in Conda environments.

Summary of changes by file:

  • .conda/recipe.yaml & .conda/variants.yaml: Deleted (entire .conda directory removed)
  • README.md: Removed Conda badges and installation instructions; added note for Conda users to use pip install
  • CONTRIBUTING.md: Removed Conda references from installation instructions, dependencies section, and release process
  • docs/edit/installation.rst: Removed Conda installation section; added "Using Conda environments" section with pip installation guidance
  • .github/workflows/package.yml: Removed build-conda and test-conda jobs
  • .github/workflows/python-publish.yml: Removed publish-to-conda job
  • .github/pyproject_versions.py: Removed replace_in_file() function and Conda-specific CLI arguments (--replace, --filename)

Related Issue

Resolves #1017

Motivation and Context

Conda publishing has been broken (latest version on Conda Forge is 2.2.2, while PyPI has 3.2.1). Since pip install codecarbon works perfectly in Conda environments, maintaining separate Conda packages is unnecessary overhead.

How Has This Been Tested?

  • Verified all Conda references removed from codebase
  • Confirmed documentation updates are clear and accurate
  • Checked that workflow files are syntactically correct

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING.md document.
  • I have added tests to cover my changes. (N/A - removal of infrastructure)
  • All new and existing tests passed.

cc @benoit-cty

@IamLRBA IamLRBA requested a review from a team as a code owner January 6, 2026 18:39
@IamLRBA IamLRBA requested review from benoit-cty and removed request for benoit-cty January 6, 2026 18:40
@IamLRBA IamLRBA force-pushed the Remove-Conda-Support branch from 242a7af to 5a76b28 Compare January 6, 2026 19:04
@IamLRBA IamLRBA requested a review from benoit-cty January 6, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove Conda support ?

1 participant