Uh oh!
There was an error while loading. Please reload this page.
Use requirements file for install_requires - #1298
Conversation
FCamborda
commented
Jan 16, 2024
I'd advise against this solution, since For more info see https://packaging.python.org/en/latest/discussions/install-requires-vs-requirements/ |
Well, not entirely true it's not desired.
This PR is not about replacing anything with requirements file, but it feeds If you install atlassian-python-api (let' say version 3.41.0) on clean venv, you will notice library Are there any close plans to get rid of all details inside setup.py and use setup.cfg? |
codecov-commenter
commented
Jan 16, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@## master #1298 +/- ##
=======================================
Coverage 34.36% 34.36% =======================================
Files 45 45 Lines 8241 8241 Branches 1146 1146 =======================================
Hits 2832 2832 Misses 5295 5295 Partials 114 114 ☔ View full report in Codecov by Sentry. |
FCamborda
commented
Jan 17, 2024
That's up to the maintainer of the project. I was just making people aware about that (unfortunately common) bad practice. If agreed, I would raise a PR myself porting changes to |
FCamborda
commented
Jan 17, 2024
gonchik
commented
Jan 17, 2024
@FCamborda could you send the PR, I will merge it |
Neodreadlord
commented
Jan 17, 2024
Guys, this change has broken my build. When installing Atlassian now on an Ubuntu-22 container, it fails to complete because it cannot find krb5-config. Is this due to the addition of the 'optional' kerberos dependency or is there another change that happened that's caused this? |
FCamborda
commented
Jan 17, 2024
Sorry I did not do this before, but I was completely unfamiliar with forks. |
Let's define
install_requiresinsidesetup.pyout ofrequirements.txtfile.We keep then only one source of dependencies and we let build fail early (on wheel build) if
requirements.txtcontains wrong dependencies.