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

fix: add patches folder to manifest.in to be available on pip install #121

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

hinakhadim
Copy link
Collaborator

When installing tutor-indigo via pip install tutor-indigo, the patches folder is not included in the tar.gz package.

Effect:

  • The Indigo dark theme is not applied.
  • The Indigo footer is not applied.

Cause:

The env.config.jsx file requires imports and the AddDarkTheme component, which are located in the patches folder. Since the patches folder is not being downloaded with the installation, env.config.jsx does not produce the expected output.

Copy link
Contributor

@DawoudSheraz DawoudSheraz left a comment

Choose a reason for hiding this comment

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

even though this is build/distribution related, please add a changelog entry so that we have that in release.

@@ -0,0 +1 @@
- [Bug] Fix env.config.jsx for dark theme and Indigo footer by including the patches folder in MANIFEST.in for python pypi package. (by @hinakhadim)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Bugfix, not bug.

@hinakhadim hinakhadim merged commit 1a0252d into release Jan 24, 2025
1 check passed
@regisb regisb deleted the fix/pypi-package-issue branch January 26, 2025 14:57
@regisb
Copy link
Contributor

regisb commented Jan 26, 2025

Great catch! Let's publish a v19.0.1 ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants