-
-
Notifications
You must be signed in to change notification settings - Fork 304
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
Create own debian package with version 3.44.0 of python-dependency-injector #425
Comments
Hi @maxlavr , Version I would love to help fixing that. I'll try to build debian package and get back to you. |
Thank you @rmk135 !!! I will wait you and also I have more additional information for you! But I have observed strange behavior. My debhelper configured to build package with So can you also answer what correct build system of PS. How I build package sudo apt-get install -y lintian debhelper cdbs devscripts build-essential Go to directory with source code from my branch and build package with command debuild -uc -us |
@maxlavr I'm a bit overwhelmed with other project, will get back in a day or two. |
@maxlavr , I've played a little with your branch. I was able to build a package and install it on Python 2:
However it all was quite buggy (there are a lot of different errors and warnings if you follow the log). Here are the changes that I've done:
I think that pybuild is a right tool for that work. However, I faced it for the first time and not sure how to configure it properly. Seems like there is a bunch of different configuration options that could help to build the package for both Python2 and Python3, running tests etc. I'll leave the issue opened. If you have any updates or suggestions, you're welcome to share. I'll also add a backlog item for myself to get familiar with how pybuild works. When we have a stable debian package, I could include it in the main repo. |
@rmk135 Thank you for the answer! I have the same logs output while buildiing, but package is installing correctly. We done some test of our software which use
I have some experience in creating |
Hi @maxlavr ,
No worries, that's ok. Dependency Injector does not load these modules when work on Python 2. These errors come from the deb installer. I'm also curious why it doesn't fail on the error. That seems to be a |
@rmk135 Yes, I have a desire to modify this package by adding documentation to it, correct changelog file and send it to you for open use if you don't mind. First of all I need from you only your consent or lack thereof))) I can prepare a source package with edited build instructions, send you a link for revision, and give you the opportunity to comment on them. If everything works out with this version and everything suits you, I would help you put together a package with the current version PS. my team of developers have checked package I've built and it's work properly! |
Yep, you got it :)
Sounds good.
Wonderful. Great news! |
Hello everyone, my name is Max and my profession is DevOps. Our company are working with some software that requires python-dependency-injector as a dependency. We need to build this dependency from source and use the package because it is a security requirement. But I haven't find any debian repo with instructions and directory "debian" in https://salsa.debian.org/public or in this repository. I have built project myself, but when I install him I have some errors:
Maybe you can help fix this error or give me your debian.orig.tar with 3.44.0 version ?
The text was updated successfully, but these errors were encountered: