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

.github: Migrate to the pyproject.toml #56

Merged
merged 20 commits into from
Nov 5, 2024
Merged

Conversation

corona10
Copy link
Contributor

@corona10 corona10 commented Nov 3, 2024

Python community are now dropping the requirements.txt based project and moving to use pyproject.toml instead.
See: https://peps.python.org/pep-0518/

For this change, we need to drop supporting Python 3.8 but it will be okay since we already decided to drop supporting Python 3.8 at #54

@corona10 corona10 changed the title [WIP] .github: Migrate to the pyproject.toml .github: Migrate to the pyproject.toml Nov 3, 2024
@corona10
Copy link
Contributor Author

corona10 commented Nov 3, 2024

@darjeeling will handle to support uv with future PR.

@corona10
Copy link
Contributor Author

corona10 commented Nov 3, 2024

@hexoul Ready to get review :)

@corona10 corona10 changed the title .github: Migrate to the pyproject.toml [WIP] .github: Migrate to the pyproject.toml Nov 3, 2024
pyproject.toml Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Nov 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.41%. Comparing base (c2f1f31) to head (f984e81).
Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #56       +/-   ##
===========================================
+ Coverage   81.30%   93.41%   +12.11%     
===========================================
  Files          23       24        +1     
  Lines         706      714        +8     
===========================================
+ Hits          574      667       +93     
+ Misses        132       47       -85     
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@darjeeling
Copy link
Contributor

I agree with this PR

@hexoul hexoul added the cleanup label Nov 4, 2024
Copy link
Collaborator

@hexoul hexoul left a comment

Choose a reason for hiding this comment

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

Nice work!

.github/workflows/publish.yml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
@hexoul hexoul added this to the 0.5.0 milestone Nov 5, 2024
corona10 and others added 2 commits November 5, 2024 11:12
Co-authored-by: Seunggon Kim <crosien@gmail.com>
Co-authored-by: Seunggon Kim <crosien@gmail.com>
@corona10
Copy link
Contributor Author

corona10 commented Nov 5, 2024

@@ -11,10 +11,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ammaraskar/sphinx-action@master
- name: Set up Python ${{ matrix.python-version }}
Copy link
Contributor

Choose a reason for hiding this comment

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

matrix.python-version seems not available in docs job.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah thank you for catching.

Copy link
Collaborator

@hexoul hexoul left a comment

Choose a reason for hiding this comment

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

@corona10 Thanks again!

@hexoul hexoul merged commit 32e9f23 into line:main Nov 5, 2024
24 checks passed
@corona10 corona10 deleted the pyproject branch November 5, 2024 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants