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

feat: adopt poetry #1172

Merged
merged 10 commits into from
Apr 13, 2024
Merged

feat: adopt poetry #1172

merged 10 commits into from
Apr 13, 2024

Conversation

mattwang44
Copy link
Member

@mattwang44 mattwang44 commented Apr 8, 2024

Types of changes

resolve #1137

  • Other (adopt poetry)

Description

Adopt poetry as the package management tool and the virtual env management tool

@mattwang44 mattwang44 changed the title feat(pkg-mgmt): add pyproject.toml & poetry.lock of current packages feat(pkg-mgmt): adopt poetry Apr 8, 2024
@mattwang44 mattwang44 changed the title feat(pkg-mgmt): adopt poetry feat: adopt poetry Apr 8, 2024
@mattwang44 mattwang44 marked this pull request as ready for review April 9, 2024 07:57
@mattwang44 mattwang44 linked an issue Apr 9, 2024 that may be closed by this pull request
Copy link

codecov bot commented Apr 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.98%. Comparing base (e4af425) to head (d540aea).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1172      +/-   ##
==========================================
- Coverage   71.00%   70.98%   -0.02%     
==========================================
  Files          85       84       -1     
  Lines        3445     3440       -5     
==========================================
- Hits         2446     2442       -4     
+ Misses        999      998       -1     

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

pyproject.toml Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
dev.Dockerfile Show resolved Hide resolved
enter_dev_env.sh Show resolved Hide resolved
@mattwang44 mattwang44 requested a review from josix April 9, 2024 19:00
@mattwang44 mattwang44 requested a review from josix April 12, 2024 11:47
Copy link
Collaborator

Choose a reason for hiding this comment

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

just being picky: for some users using Mac with chip M1 as me, L12 will have to revise to
"export DOCKER_DEFAULT_PLATFORM=linux/arm64/v8"
manually. Maybe note this at quotes inside or readme?

Copy link
Member Author

Choose a reason for hiding this comment

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

i use M1 and I've never needed to change these before. I believe it's another issue that we need to dig in. Let's open another ticket/issue for this, shall we?

Copy link
Member Author

@mattwang44 mattwang44 Apr 12, 2024

Choose a reason for hiding this comment

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

P.S. I followed this instruction to install x86 versions of homebrew and have my terminal opened with rosetta by default, and I also followed this instruction to properly setup terminal profiles in VSCode. I believe these settings have saved me from a bunch of system issues on M1.

Copy link
Collaborator

Choose a reason for hiding this comment

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

good idea. I will move the further discussion at #1175

Copy link
Member Author

Choose a reason for hiding this comment

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

Thx!

Base automatically changed from upgrade-python-310 to master April 13, 2024 06:16
@SivanYeh SivanYeh self-requested a review April 13, 2024 06:24
Copy link
Collaborator

@SivanYeh SivanYeh left a comment

Choose a reason for hiding this comment

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

LGTM! successfully worked at my local. I will merge when @josix approve.

@SivanYeh SivanYeh mentioned this pull request Apr 13, 2024
1 task
Copy link
Collaborator

@josix josix left a comment

Choose a reason for hiding this comment

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

LGTM

@mattwang44 mattwang44 merged commit f825944 into master Apr 13, 2024
2 of 3 checks passed
@mattwang44 mattwang44 deleted the adopt-poetry branch April 13, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feature Request] Introduce poetry
3 participants