Skip to content
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

Replaced vendored openpyxl by a dependency #221

Merged
merged 2 commits into from
Feb 20, 2017

Conversation

claudep
Copy link
Contributor

@claudep claudep commented Feb 16, 2016

Re-opened #217 against master.

@franciscod
Copy link

Should we un-vendor every dependency? it's very weird in this way :) It seems this project is pre-pip

@claudep
Copy link
Contributor Author

claudep commented Feb 18, 2016

The aim (for me as a simple contributor) is to unvendor other dependencies too. I'm just segmenting the patch initiated by Tommy Anthony in #195, to fix issues separately.

@kennethreitz
Copy link
Contributor

The intention behind the vendoring was for user simplicity. I didn't want users of Tablib to have to install a number of other dependencies in order to use the software. This was compounded by the fact that I had to port the codebases to Python 3 myself, and make other modifications.

If all of this software is now properly maintained and packaged for both Python 2 and Python 3, un-vendoring is a possibility. The large number of sub-dependencies that this would pass on to the user is quite unfortunate, but it would also reduce maintenance burden (ideally).

@claudep
Copy link
Contributor Author

claudep commented Feb 18, 2016

That was certainly a good design when it was decided. I think now that Python dependency management has improved a lot during the recent years, and it may be time to switch to build on a dependency system again.

@kennethreitz
Copy link
Contributor

Agreed, as long as everything is now available for Python 3 (I haven't checked).

@claudep
Copy link
Contributor Author

claudep commented Feb 18, 2016

Travis should tell us that :-)

@kennethreitz
Copy link
Contributor

Travis is broken (for this project) at the moment, unfortunately. I sent a message to their support a few days ago, but haven't heard anything yet.

I may take the time to just switch this project over to my http://ci.kennethreitz.org/

@claudep
Copy link
Contributor Author

claudep commented Feb 18, 2016

There seems to be an issue with the develop branch. But for other branches like:
master: https://travis-ci.org/kennethreitz/tablib/builds/109605530
this PR: https://travis-ci.org/kennethreitz/tablib/builds/109668283
Results seem to be fine.

I think that at some time, your repo was setup with the develop branch as the main branch, instead of master. It might have been the source of various problems.

@kennethreitz
Copy link
Contributor

Yes, I made some adjustments a few days ago. There is no longer a develop branch (it was the default branch).

I am annoyed with Travis :)

@iurisilvio
Copy link
Collaborator

These are all tablib Python 3 vendored packages:

    'tablib.packages.xlwt3',
    'tablib.packages.xlrd3',
    'tablib.packages.odf3',
    'tablib.packages.openpyxl3',
    'tablib.packages.openpyxl3.shared',
    'tablib.packages.openpyxl3.reader',
    'tablib.packages.openpyxl3.writer',
    'tablib.packages.yaml3',
    'tablib.packages.dbfpy3'

These claim to support Python 3:

https://pypi.python.org/pypi/xlwt
https://pypi.python.org/pypi/xlrd
https://pypi.python.org/pypi/odfpy
https://pypi.python.org/pypi/openpyxl
https://pypi.python.org/pypi/PyYAML

The dbfpy is not clear about Python 3 support. It is a simple package, I guess they support, but used it only in Python 2.7.

@franciscod
Copy link

For dbf support, there's this on pypi that has many recent downloads: https://pypi.python.org/pypi/dbf, and says it's multiversion (2 and 3)

@iurisilvio
Copy link
Collaborator

Good. I don't know which package is the vendored one. Maybe it is this dbf instead of dbfpy.

@claudep claudep force-pushed the openpyxl branch 2 times, most recently from cdbb78f to 59b1d71 Compare August 30, 2016 16:13
@claudep
Copy link
Contributor Author

claudep commented Aug 30, 2016

I've just rebased the branch to check if tests are still happy. Is there anything blocking this?
I'm still available to continue the work for other dependencies after this one is merged.

@vToMy
Copy link

vToMy commented Feb 20, 2017

I would LOVE to have this merged.

@claudep
Copy link
Contributor Author

claudep commented Feb 20, 2017

I'll rebase my patch ASAP.

Recent dependencies are dropping Python 3.2 too.
Thanks Tommy Anthony for the initial patch.
@claudep
Copy link
Contributor Author

claudep commented Feb 20, 2017

Rebase done.

@iurisilvio iurisilvio merged commit e66eb4a into jazzband:master Feb 20, 2017
@iurisilvio
Copy link
Collaborator

Merged.

It is part of #273 work.

@claudep claudep deleted the openpyxl branch February 20, 2017 15:50
@vToMy
Copy link

vToMy commented Feb 20, 2017

Wow, that was fast. Thanks guys :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants