-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
dev-python/poetry: Add new package, fix bug #831720 #28843
Conversation
Pull Request assignmentSubmitter: @martin-kokos dev-python/poetry: @gentoo/proxy-maint (new package) Linked bugsNo bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment. New packagesThis Pull Request appears to be introducing new packages only. Due to limited manpower, adding new packages is considered low priority. This does not mean that your Pull Request will not receive any attention, however, it might take quite some time for it to be reviewed. In the meantime, your new ebuild might find a home in the GURU project repository: the ebuild repository maintained collaboratively by Gentoo users. GURU offers your ebuild a place to be reviewed and improved by other Gentoo users, while making it easy for Gentoo users to install it and enjoy the software it adds. Missing GCO sign-offPlease read the terms of Gentoo Certificate of Origin and acknowledge them by adding a sign-off to all your commits. In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
|
86fede8
to
042f585
Compare
dev-python/poetry-plugin-export/poetry-plugin-export-1.2.0.ebuild
Outdated
Show resolved
Hide resolved
dev-python/poetry-plugin-export/poetry-plugin-export-1.2.0.ebuild
Outdated
Show resolved
Hide resolved
dev-python/poetry-plugin-export/poetry-plugin-export-1.2.0.ebuild
Outdated
Show resolved
Hide resolved
dev-python/poetry-plugin-export/poetry-plugin-export-1.2.0.ebuild
Outdated
Show resolved
Hide resolved
You have forgot metadata.xml and Manifest is wrong: didn't you used pkgdev, did you? EDIT You may want to install pkgdev and run
inside SIDENOTE: be sure to have an OpenGPG key too to sign your packages |
042f585
to
abbb071
Compare
I have pushed a new commit (for the time being bundle into single, splitting added to checklist) I have updated the description with an overview of missing dependencies and a checklist with issues I couldn't resolve by myself. A recurring issue is tests not being found, some new licenses. I'd appreciate some pointers on how to go about resolving those issues. |
abbb071
to
ac96e70
Compare
|
522884e
to
1b04e33
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally good looking, I have only one question: I see you have added python project to it but not yourself, why? I hope you are going to add and maintain them in future, right?
1b04e33
to
d3a0170
Compare
I haven't included myself in metadata because I'm barely orienting myself in gentoo documentatio, I just barely understand how portage works am not familiar with maintainership at all. I don't really have any experience packaging python or troubleshooting problems that might arise. I am not exactly against writing myself up, but in short I don't feel that competent. I'd rather someone evaluate that after I get some more exposure? |
c705c02
to
0b733f7
Compare
You're right. It's not needed. Removed the whole dep branch
|
ea090fe
to
837a850
Compare
I've merged shellingham, flatdict and orjson. |
I had a poetry PR merged to remove flatdict, which is now live as of new poetry-1.4 release, so it won't be needed. I have some failing test on poetry-1.4, but I will bump it as I figure it out. |
837a850
to
d18e7a9
Compare
test that are broken for me on new poetry-1.4.0 are:
maybe something rings a bell |
d18e7a9
to
703ce45
Compare
Hi! Just dropping by to say: Thanks for your work on this! Will be great to have poetry in Portage. 👌 |
703ce45
to
c9788c2
Compare
I have bumped poetry and poetry-plugin-export to current version. Same test are failing as in 1.4.0, but they pass with network so I've disabled them for now. I don't know the reason. |
I've come across a bit of a blocker. Poetry supports plugins. These plugins can be installed with a command such as
|
c9788c2
to
af4beb0
Compare
Bumped |
Thank you for your perseverance! I hope I'll manage some time to look via it all in the coming days. |
af4beb0
to
60b010d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, again. I've pushed deepdiff and commented on poetry*.
dev-python/poetry-plugin-export/poetry-plugin-export-1.4.0.ebuild
Outdated
Show resolved
Hide resolved
" | ||
|
||
DEPEND=" | ||
test? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* python3_10: running distutils-r1_run_phase python_test
python3.10 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:tavern
ImportError while loading conftest '/tmp/portage/dev-python/poetry-plugin-export-1.4.0/work/poetry_plugin_export-1.4.0/tests/conftest.py'.
tests/conftest.py:11: in <module>
from poetry.config.config import Config as BaseConfig
E ModuleNotFoundError: No module named 'poetry.config'
Missing poetry test-dep?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping.
Signed-off-by: Martin Mokry <martin-kokos@protonmail.com>
60b010d
to
c1edab1
Compare
Signed-off-by: Martin Mokry <martin-kokos@protonmail.com>
5829001
to
410bb7b
Compare
Pull request CI reportReport generated at: 2023-07-12 18:55 UTC New issues caused by PR: There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry about the delay. Once again, thank you!
I've had to remove py3.12 because of non-3.12 dependencies but other than that, all green and merged!
Also, please remember to run pkgcheck scan --commits --net
to make sure everything is good.
Ah, sorry, one more thing:
I guess we need to |
Add new package poetry and its dependencies.
poetry-core
is already present in portage and this package is it's cli tool.Closes: https://bugs.gentoo.org/831720
Dependency tree of missing packages:
Checklist:
deepdiff
: Merge fix tests: Use tmp_path fixture seperman/deepdiff#362orjson
- Get from Guru? (up the python_targets)(optional)wilderness
: no tests picked up by unittest; Mege fix Add MANIFEST.in GjjvdBurg/wilderness#7cachy
: package abandoned, used only in testspytest-randomly
: no tests picked up by pytest (also in Guru (but with different license?)) Add tests in Manifest pytest-dev/pytest-randomly#519factory-boy
: tests fail, need to run against local mongo instance; need to start it first?flatdict
:Help needed:
poetry
: network sandbox violation (tests trypip install
), disabled testspoetry
<->poetry-plugin-export
circular dependency (as defined in respectivepyproject.toml
)Removed poetry as from poetry-plugin-export ebuild(optional)clevercsv
: some kind of setuptools problem building; see(optional)tabview
: tests failing; needs tty to test curses, see