Newer versions of the sdist plugin do not resolve pytz properly
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 603
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
When using com.linkedin.python-sdist > 0.4.9 the build always fails inside of installBuildRequirements with
```
Processing /home/vagrant/.gradle/caches/modules-2/files-2.1/pypi/Sphinx/1.4.1/d18b856710b22ae9740147e21754ca5b851af9b2/Sphinx-1.4.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 20, in
File "/tmp/pip-1phE1A-build/setup.py", line 79, in
from babel.messages.pofile import read_po
File "/home/vagrant/dev/xxx/build/venv/local/lib/python2.7/site-packages/babel/messages/__init__.py", line 12, in
from babel.messages.catalog import *
File "/home/vagrant/dev/xxx/build/venv/local/lib/python2.7/site-packages/babel/messages/catalog.py", line 23, in
from babel.dates import format_datetime
File "/home/vagrant/dev/xxx/build/venv/local/lib/python2.7/site-packages/babel/dates.py", line 28, in
from babel.util import UTC, LOCALTZ
File "/home/vagrant/dev/xxx/build/venv/local/lib/python2.7/site-packages/babel/util.py", line 282, in
UTC = _pytz.utc
AttributeError: 'module' object has no attribute 'utc'
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing installBuildRequirements with com.linkedin.python-sdist greater than 0.4.9 and inspect the plugin's dependency-resolution path for pytz. The issue is done when the build installs its requirements without the shown Babel/pytz AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100