You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"OverflowError: string longer than 2147483647 bytes" when upload file > 2GB to generic package #2002
@thcao-ampere we generally don't backport fixes as it'd be too difficult to maintain a compatibility matrix with older GitLab versions. Python 3.6 is already EOL, so I suggest after this is fixed you use something like https://github.com/pyenv/pyenv to manage multiple python environments without affecting your system python.
But you can probably patch your old library based on our fix here if that's not possible, as a last resort.
This issue was marked stale because it has been open 60 days with
no activity. Please remove the stale label or comment on this
issue. Otherwise, it will be closed in 15 days.
As an open-source project, we rely on community contributions to
address many of the reported issues. Without a proposed fix or
active work towards a solution it is our policy to close inactive
issues. This is documented in CONTRIBUTING.rst
How to keep this issue open:
If you are still experiencing this issue and are willing to
investigate a fix, please comment and let us know.
If you (or someone else) can propose a pull request with a
solution, that would be fantastic.
Any significant update or active discussion indicating progress
will also prevent closure.
We value your input. If you can help provide a fix, we'd be happy
to keep this issue open and support your efforts.
This issue was closed because it has been marked stale for 15 days
with no activity.
This open-source project relies on community contributions, and
while we value all feedback, we have a limited capacity to address
every issue without a clear path forward.
Currently, this issue hasn't received a proposed fix, and there
hasn't been recent active discussion indicating someone is planning
to work on it. To maintain a manageable backlog and focus our
efforts, we will be closing this issue for now.
This doesn't mean the issue isn't valid or important. If you or
anyone else in the community is willing to investigate and propose
a solution (e.g., by submitting a pull request), please do.
We believe that those who feel a bug is important enough to fix
should ideally be part of the solution. Your contributions are
highly welcome.
Thank you for your understanding and potential future
contributions.
Activity
nejch commentedon May 2, 2022
Thanks for the report @thcao-ampere.
Looks like a repeat of #646, which was fixed by multipart uploads (#1252).
We probably forgot to do it for https://github.com/python-gitlab/python-gitlab/blob/main/gitlab/v4/objects/packages.py#L44.
thcao-ampere commentedon May 2, 2022
Please help fix in 2.10.1 too.. because I'm using python 3.6 on CentOS 7.9
Thanks!
nejch commentedon May 2, 2022
@thcao-ampere we generally don't backport fixes as it'd be too difficult to maintain a compatibility matrix with older GitLab versions. Python 3.6 is already EOL, so I suggest after this is fixed you use something like https://github.com/pyenv/pyenv to manage multiple python environments without affecting your system python.
But you can probably patch your old library based on our fix here if that's not possible, as a last resort.
thcao-ampere commentedon Jul 18, 2022
Was this issue fixed ?
nejch commentedon Jul 22, 2022
Not yet @thcao-ampere - but the backstage work is finished (#2011) so I think I can start looking at this fix now.
mattysan commentedon Apr 26, 2024
Just started using python-gitlab and ran into this issue; really would be helpful if we had a fix.
github-actions commentedon Jul 9, 2025
This issue was marked stale because it has been open 60 days with
no activity. Please remove the stale label or comment on this
issue. Otherwise, it will be closed in 15 days.
As an open-source project, we rely on community contributions to
address many of the reported issues. Without a proposed fix or
active work towards a solution it is our policy to close inactive
issues. This is documented in CONTRIBUTING.rst
How to keep this issue open:
investigate a fix, please comment and let us know.
solution, that would be fantastic.
will also prevent closure.
We value your input. If you can help provide a fix, we'd be happy
to keep this issue open and support your efforts.
This is documented in CONTRIBUTING.rst
https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst
github-actions commentedon Jul 24, 2025
This issue was closed because it has been marked stale for 15 days
with no activity.
This open-source project relies on community contributions, and
while we value all feedback, we have a limited capacity to address
every issue without a clear path forward.
Currently, this issue hasn't received a proposed fix, and there
hasn't been recent active discussion indicating someone is planning
to work on it. To maintain a manageable backlog and focus our
efforts, we will be closing this issue for now.
This doesn't mean the issue isn't valid or important. If you or
anyone else in the community is willing to investigate and propose
a solution (e.g., by submitting a pull request), please do.
We believe that those who feel a bug is important enough to fix
should ideally be part of the solution. Your contributions are
highly welcome.
Thank you for your understanding and potential future
contributions.
This is documented in CONTRIBUTING.rst
https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst