Skip to content

Release v1.5.3 - #421

Merged
sanathkr merged 2 commits into
masterfrom
develop
May 3, 2018
Merged

sanathkr merged 2 commits into
masterfrom
develop

Conversation

@sanathkr

@sanathkr sanathkr commented May 3, 2018

Copy link
Copy Markdown

Only commit is to remove the extraneous dependencies on requirements.txt

Sanath Kumar Ramesh added 2 commits May 2, 2018 17:15
`boto3`: Many users might have this library already available in thier
Python installation from installing the AWS CLI. We use boto3 in
only one place, which is to get the region_name from `boto3.session.Session`
which hasn't changed since 2016. Updating the requirement to depend on
boto3 >=1.5.0 allows us to be compatible with existing installations that
might already have an older version of boto3

`botocore, docutils, futures, jmespath, python-dateutil, s3transfer`: These
packages are not used in the SAM translator but come as a dependency through
boto3. Hence removing the direct dependency.

`functools32`: Grepped for every single method offered by this package. We don't
use any of it directly within SAM Translator. This might have come as a
dependency through boto3.

`PyYAML`: Only required by the tests. So moving to dev dependency

`six`: Reducing the specificity of version requirement

`~=`: Using this operator in order to accept to a compatible minor/patch version
but preventing a major version change.

**Testing**:
- `make pr` and `make test` pass. Built a tar.gz distribution using
  `python setup.py sdist` and installed it in a clean virtualenv
  successfully. Tests ran successfully too. I was also able to import
@sanathkr
sanathkr requested review from brettstack and jfuss May 3, 2018 16:51
@sanathkr
sanathkr merged commit a2109b4 into master May 3, 2018
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.

3 participants