-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Open points to discussion #41
Comments
Hi @tomsej! Thank you for your feedback, it is very appreciated! ⭐ I am planning to add some help for the thing with making sure a project has all the bricks in place - something like a The second part - I also plan to add tooling support there for components to specify their third-party dependencies. Something like a |
Until the new tooling features are in place, I think testing the built artifact in Docker seems like the way to go. Also, I think - but I have to double check that - it is possible to run tests for code in a specific project without building it into a wheel or sdist, even with relative paths. I am very curious about your project, is it by any chance Open Source? It would be very interesting to see the setup! If you have more ideas or thoughts, just add them here. That kind of feedback to a new project like python-poetry is really valuable. Thank you again! |
Hi @DavidVujic, unfortunately I am unable to share the project since it is private one :/. But feel free to ask any question. We are currently trying to switch from Pantsbuild to your Polylith setup because Pantsbuild is just too heavy and "magical" for us. Polylith seems to work for us so far, so you can expect more ideas and feedback from us in the future. Regarding the tests. We are not using Poetry in-project environments, since we have everything in It would be wonderful to have Regarding the |
Great ideas, thank you! ⭐ I'll think about this and see how the issues can be solved. Currently, I have some half-started ideas/scratches in Python code. I should focus on one thing at a time and solve it step-by-step 😄 |
Hello again! 🎅 I have added a new command in the Multiproject plugin, to check for missing dependencies or packages in a project. It uses MyPy behind the scenes. I plan to build a Meanwhile, I hope that the new EDIT: 🤦♂️ I was a bit too fast with deploying a non-working new command. So, this one is not very useful yet. EDIT 2: there's a new version of the poetry-multiproject-plugin that will perform checks on a project. It's not 100% accurate, but should catch missing library dependencies (unless you also have them globally installed in the machine), and missing package includes that are used in the code. More info here: https://github.com/DavidVujic/poetry-multiproject-plugin#what-does-it-do |
I'll close this issue, because I believe it has been solved by the commands added. Please open a new issue if there is something I have missed or misunderstood! I would love to hear your feedback about the |
I am really sorry. You wrote it during the Christmas and I forgot to write to you back. I do not actually use a I am super excited about |
yes, the |
Hi @DavidVujic, I have been playing with python-polylith, and I am truly impressed. It is really close to how I think that ideal Python project would look like (at least for me). I have two points I would like to discuss:
But it is less than ideal. This is not a case for the compiled languages, I guess. Think the best way would be to running tests in the fresh venv where wheel artefact is installed. But again, the problem is with relative paths and specification of test that should be executed. Do you think this should be somehow supported by multiproject plugin? Or it is more up to CI/CD to manage this? I am more keen to CI/CD path, but it would be good to warn users that this might be tricky (especially with bigger projects with multiple dependencies).
pandas==1.5.0
but in the otherpandas==1.1.0
. But it can also mean that same component in both the projects can behave differently (since it is using different external dependency). Any idea how to tackle this?Thanks so much for this!!!
The text was updated successfully, but these errors were encountered: