Fix release after the raw rst directive disabled was disabled in PyPI#1282
Merged
Conversation
As seen in https://github.com/astronomer/astronomer-cosmos/actions/runs/11485503895/job/31965756381 We started facing the following error while trying to publish packages to PyPI: ``` ERROR `long_description` has syntax errors in markup and would not be rendered on PyPI. line 88: Warning: "raw" directive disabled. Checking dist/astronomer_cosmos-1.7.1a1.tar.gz: FAILED ``` I was able to reproduce the Github action error by running: ``` rm -fr dist && python -m build --wheel && twine check dist/* ``` This PR aims to solve the issue, hopefully without side-effects on Scarf metrics.
✅ Deploy Preview for sunny-pastelito-5ecb04 canceled.
|
raw rst directive disabledraw rst directive disabled was disabled in PyPI
tatiana
commented
Oct 24, 2024
pankajkoti
approved these changes
Oct 24, 2024
pankajkoti
left a comment
Contributor
There was a problem hiding this comment.
Nice fix. It's sad how GitHub actions add warnings but essentially push breaking changes & not following semver.
Collaborator
Author
|
I agree, @pankajkoti . Another observation is that the reStructuredText |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1282 +/- ##
=======================================
Coverage 95.73% 95.73%
=======================================
Files 67 67
Lines 3965 3965
=======================================
Hits 3796 3796
Misses 169 169 ☔ View full report in Codecov by Sentry. |
tatiana
added a commit
that referenced
this pull request
Oct 29, 2024
Bug fixes * Fix ``DbtVirtualenvBaseOperator`` to use correct virtualenv Python path by kesompochy in #1252 * Fix displaying dbt docs as menu item in Astro by @tatiana in #1280 * Fix: Replace login by user for clickhouse profile by @petershenri in #1255 Enhancements * Improve dbt Docs Hosting Debugging -- Update dbt_docs_not_set_up.html by @johnmcochran in #1250 * Minor refactor on VirtualenvOperators & add test for PR by @tatiana in #1253 Docs * Add Welcome Section and "What Is Cosmos" Blurb to Home Page by @cmarteepants and @yanmastin-astro in #1251 * Update the URL for sample dbt docs hosted in Astronomer S3 bucket by @pankajkoti in #1283 * Add dedicated scarf tracking pixel to readme by @cmarteepants in #1256 Others * Update ``CODEOWNERS`` to track all files by @pankajkoti in #1284 * Fix release after the ``raw`` rst directive disabled was disabled in PyPI by @tatiana in #1282 * Update issue template ``bug.yml`` - cosmos version update in the dropdown by @pankajkoti in #1275 * Pre-commit hook updates in #1285, #1274, #1254, #1244" error: pathspec 'Is' did not match any file(s) known to git error: pathspec 'Cosmos Blurb to Home Page by @cmarteepants and @yanmastin-astro in #1251 * Update the URL for sample dbt docs hosted in Astronomer S3 bucket by @pankajkoti in #1283 * Add dedicated scarf tracking pixel to readme by @cmarteepants in #1256 Others * Update CODEOWNERS to track all files by @pankajkoti in #1284 * Fix release after the raw rst directive disabled was disabled in PyPI by @tatiana in #1282 * Update issue template bug.yml - cosmos version update in the dropdown by @pankajkoti in #1275 * Pre-commit hook updates in #1285, #1274, #1254, #1244
Merged
tatiana
added a commit
that referenced
this pull request
Oct 29, 2024
Bug fixes * Fix ``DbtVirtualenvBaseOperator`` to use correct virtualenv Python path by kesompochy in #1252 * Fix displaying dbt docs as menu item in Astro by @tatiana in #1280 * Fix: Replace login by user for clickhouse profile by @petershenri in #1255 Enhancements * Improve dbt Docs Hosting Debugging -- Update dbt_docs_not_set_up.html by @johnmcochran in #1250 * Minor refactor on VirtualenvOperators & add test for PR by @tatiana in #1253 Docs * Add Welcome Section and "What Is Cosmos" Blurb to Home Page by @cmarteepants and @yanmastin-astro in #1251 * Update the URL for sample dbt docs hosted in Astronomer S3 bucket by @pankajkoti in #1283 * Add dedicated scarf tracking pixel to readme by @cmarteepants in #1256 Others * Update ``CODEOWNERS`` to track all files by @pankajkoti in #1284 * Fix release after the ``raw`` rst directive disabled was disabled in PyPI by @tatiana in #1282 * Update issue template ``bug.yml`` - cosmos version update in the dropdown by @pankajkoti in #1275 * Pre-commit hook updates in #1285, #1274, #1254, #1244" error: pathspec 'Is' did not match any file(s) known to git error: pathspec 'Cosmos Blurb to Home Page by @cmarteepants and @yanmastin-astro in #1251 * Update the URL for sample dbt docs hosted in Astronomer S3 bucket by @pankajkoti in #1283 * Add dedicated scarf tracking pixel to readme by @cmarteepants in #1256 Others * Update CODEOWNERS to track all files by @pankajkoti in #1284 * Fix release after the raw rst directive disabled was disabled in PyPI by @tatiana in #1282 * Update issue template bug.yml - cosmos version update in the dropdown by @pankajkoti in #1275 * Pre-commit hook updates in #1285, #1274, #1254, #1244
tatiana
added a commit
that referenced
this pull request
Oct 29, 2024
Bug fixes * Fix ``DbtVirtualenvBaseOperator`` to use correct virtualenv Python path by @kesompochy in #1252 * Fix displaying dbt docs as menu item in Astro by @tatiana in #1280 * Fix: Replace login by user for clickhouse profile by @petershenri in #1255 Enhancements * Improve dbt Docs Hosting Debugging -- Update dbt_docs_not_set_up.html by @johnmcochran in #1250 * Minor refactor on VirtualenvOperators & add test for PR by @tatiana in #1253 Docs * Add Welcome Section and "What Is Cosmos" Blurb to Home Page by @cmarteepants and @yanmastin-astro in #1251 * Update the URL for sample dbt docs hosted in Astronomer S3 bucket by @pankajkoti in #1283 * Add a dedicated scarf tracking pixel to readme by @cmarteepants in #1256 Others * Update ``CODEOWNERS`` to track all files by @pankajkoti in #1284 * Fix release after the ``raw`` rst directive disabled was disabled in PyPI by @tatiana in #1282 * Update issue template ``bug.yml`` - cosmos version update in the dropdown by @pankajkoti in #1275 * Pre-commit hook updates in #1285, #1274, #1254, #1244
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We started facing the following error while trying to publish packages to PyPI:
As seen in https://github.com/astronomer/astronomer-cosmos/actions/runs/11485503895/job/31965756381
I was able to reproduce the Github action error by running:
This PR aims to solve the issue without side effects on Scarf metrics.
This shows a successful release using 98dbf05:
https://github.com/astronomer/astronomer-cosmos/actions/runs/11494737405/job/31992802917
That resulted in the following package being published:
https://pypi.org/project/astronomer-cosmos/1.7.1a1/