Skip to content

Replaced fairseq with fairseq-fixed for compatibility with modern Python versions - #46

Open
Adithya-Sakaray wants to merge 1 commit into
AI4Bharat:masterfrom
Adithya-Sakaray:fix/dependencies
Open

Replaced fairseq with fairseq-fixed for compatibility with modern Python versions#46
Adithya-Sakaray wants to merge 1 commit into
AI4Bharat:masterfrom
Adithya-Sakaray:fix/dependencies

Conversation

@Adithya-Sakaray

Copy link
Copy Markdown

This PR updates the dependency from fairseq to fairseq-fixed.

The original fairseq package fails to install on modern Python interpreters due to outdated build and dependency constraints. fairseq-fixed is a drop-in replacement that preserves the same API while restoring installability on current Python versions.

Why this change

  • fairseq installation fails on recent Python versions
  • Blocks fresh setups and CI on modern environments
  • fairseq-fixed resolves these issues without requiring code changes

What changed

  • Replaced fairseq with fairseq-fixed in dependency configuration
  • No runtime logic or API usage modified

If maintainers prefer an alternative approach, I am happy to adjust.

Updated fairseq to fairseq-fixed in dependencies. This fixed the issue in modern python interpreters.
Copilot AI review requested due to automatic review settings February 4, 2026 02:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the dependency from fairseq to fairseq-fixed to enable compatibility with modern Python versions. The original fairseq package has installation issues on recent Python interpreters, and fairseq-fixed is a maintained fork that preserves the same API while resolving these installation problems.

Changes:

  • Replaced fairseq with fairseq-fixed in app/dependencies.txt

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/dependencies.txt
tensorboardX
pyarrow
fairseq
fairseq-fixed

Copilot AI Feb 4, 2026

Copy link

Choose a reason for hiding this comment

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

Replacing the official fairseq dependency with fairseq-fixed introduces an unpinned third-party package that will be automatically fetched and executed in your environments, creating a significant supply-chain risk. If the fairseq-fixed package or its publishing account is ever compromised, attackers could ship malicious code that runs with your application’s privileges and access to secrets or data. To reduce this risk, ensure fairseq-fixed is from a trusted, reviewed source and pin it to a vetted, immutable version (or vendor it) rather than relying on the latest mutable release.

Copilot uses AI. Check for mistakes.
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.

2 participants