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

doc(faq): add entry for PEP 621 migration #9996

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

abn
Copy link
Member

@abn abn commented Jan 8, 2025

Summary by Sourcery

Documentation:

  • Add a new FAQ entry detailing the migration process from the tools.poetry section to the project section in pyproject.toml as per PEP 621.

@abn abn added area/docs/faq Frequently duplicated/potential addition to FAQ impact/docs Contains or requires documentation changes labels Jan 8, 2025
@abn abn requested a review from a team January 8, 2025 15:25
Copy link

sourcery-ai bot commented Jan 8, 2025

Reviewer's Guide by Sourcery

This pull request adds a comprehensive FAQ entry in the documentation to guide users on migrating their Poetry projects from the 'tools.poetry' section to the new 'project' section as outlined in PEP 621. It includes examples and notes on handling dynamic and static dependencies.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Added a new FAQ entry for migrating an existing Poetry project to use the new 'project' section as per PEP 621.
  • Introduced a new FAQ section explaining the migration process from 'tools.poetry' to 'project' section.
  • Provided a detailed example of the original 'pyproject.toml' configuration using 'tools.poetry'.
  • Included examples of 'pyproject.toml' configurations using dynamic and static dependencies under the 'project' section.
  • Added notes explaining the dynamic properties for 'classifiers' and 'dependencies', and the replacement of 'python' dependency with 'project.requires-python'.
  • Highlighted the addition of 'requires-poetry' in the 'tools.poetry' section.
docs/faq.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @abn - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 2 issues found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

docs/faq.md Outdated Show resolved Hide resolved
docs/faq.md Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Jan 8, 2025

Deploy preview for website ready!

✅ Preview
https://website-gxvawal8c-python-poetry.vercel.app

Built with commit 03006eb.
This pull request is being automatically deployed with vercel-action

@abn abn force-pushed the docs/add-migration-faq branch from 0dd07b0 to adb340c Compare January 8, 2025 15:34
Copy link
Member

@finswimmer finswimmer left a comment

Choose a reason for hiding this comment

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

I like 👍 Just one minor thing.

docs/faq.md Outdated Show resolved Hide resolved
@abn abn force-pushed the docs/add-migration-faq branch from adb340c to 03006eb Compare January 9, 2025 15:14
@abn abn requested a review from finswimmer January 9, 2025 15:14
@abn abn enabled auto-merge (rebase) January 9, 2025 15:18
@abn abn merged commit 2d7d173 into python-poetry:main Jan 9, 2025
74 checks passed
@abn abn deleted the docs/add-migration-faq branch January 9, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs/faq Frequently duplicated/potential addition to FAQ impact/docs Contains or requires documentation changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants