-
Notifications
You must be signed in to change notification settings - Fork 22
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
Missing files in the tarball #33
Comments
Regarding the files: True, and also the changelog and contributors files are missing in the pip-package. Not sure about the todo.
We could move it to textile and make it a submodule, would this be ok for you? |
That's probably not needed. We usually don't include it in the "binary" RPM.
On this I am a bit undecided. http://doc.pytest.org/en/latest/goodpractices.html#choosing-a-test-layout-import-rules shows both layouts (inline and extra dir). From an RPM packager pov, I'd say the tests should not be installed system-wide (as they are intended for developers), so I'd favor the extra dir layout (which you currently use). I am not sure however, how to trigger its inclusion for |
You could always do a Please test it: https://testpypi.python.org/pypi/textile/2.3.3 I'm not sure if we should do a new release because of the last 3 fixes, which all affected only the packaging. But I can't upload to the real pypi anyway. |
Looks good to me. Two questions:
As a side note, |
@sebix please submit a pull request for those changes. It sounds like they should be trivial to merge in and make a release for them. Thanks @thmo Yes, please create a separate issue for those failures. And the pytest.ini specifies the |
Okay, I'll include the |
fixes textile#33 Signed-off-by: Sebastian Wagner <[email protected]>
@ikirudennis For some reason I currently don't understand, the failures don't show up anymore. @sebix This tarball does neither contain a |
@thmo Fixed with a new file: https://testpypi.python.org/pypi/textile/ (the 2.3.3-1) |
The updated tarfile works for me, although it contains additional, different changes - for example it installs a This binary is welcomed in principle, but - at least for Fedora - there's a name clash. |
This command has been added a while ago in 0be616b concerning the clash: What about providing e.g. |
That's on branch |
Yes, but develop is the next release. Thus it will be in 2.3.4 |
I had a feeling some sort of name collision would happen with the command line tool. I'm fine with changing it to pytextile. Would we need to change it in the setup.py, or are you able to change it as @sebix asked? (I'm not terribly familiar with packaging for Fedora, so please forgive my ignorance.) |
If you change it in the That said, renaming it as part of the packaging would also be no big deal. Adding the update-alternatives machinery is a bit more work and would require coordination with the packager of the perl package. |
Fixed in fa20408 |
|
I just uploaded version 2.3.6 which now has the tests directory. |
Ok, thanks, will be useful for me in Debian. |
9998e8e added the tests-directory, available in release 2.3.6. But it's not in in 2.3.7 for some reasons. |
Hmm, this is strange. I'm not sure why, but setup.py is being weird. I ran it as is, and it didn't include it. I had to change it to |
How do you create the source tarballs? Running |
And where do the files |
Yeah, I run That's weird about rawlink and plaintext. I had no idea they would be included in the zip. Thanks for the eagle eyes on this. I'll see about cleaning it up and re-upload. |
Hm, these two files now ended up in the 2.3.8 Fedora RPMs. Hope this doesn't create confusion for someone... Please do not upload a modfiied zip file with the same name, that's bad style. Either add some postfix to, or simply increase the version number. |
I also noticed it during packaging (for openSUSE) because rpmlint complained about the shebangs :) But the existence of these files shouldn't cause problems. |
In the Fedora spec file, I always remove the shebangs from all .py files anyway, so I didn't notice ;) |
In 2.3.9 the two files are gone now, but |
I gotta say, this whole MANIFEST and sdist thing has me pretty baffled. It's not consistent across machines or even consecutive runs on the same machine. I'll see what I can cook up. |
#additionbysubtraction references #33
So, I decided to start from scratch with Thanks again, @sebix and @thmo for your attention to detail. |
Please include
in the tarball. For building the Fedora package, we have to separately download them.
It might also be good to have the
tests
dir as part of the tarball, so we can run the testsuite while creating the RPM.The text was updated successfully, but these errors were encountered: