This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git.
from fb7e69e Add changelog entry.
new fe725bd Optimize imports in the EC2 driver.
new ca8f92d Optimize imports in libcloud.utils.py3 and other modules.
new dd10c27 Fix lint.
new 6f06f1a Add progress bar to the scrape-ec2-sizes script.
new 9734f69 Add a note, remove bad comment line.
new de9cae6 Add a check which fails if import takes more than threshold
amount of us.
new d7ae996 Update libcloud.pricing.get_size_price() method to only cache
pricing data for the requested driver by default.
new aebfce7 Add upgrade notes entry.
new e7a74d8 Bump up the limit since CI is slow.
new a5f4316 Fix lint.
new 17d56ab Merge branch 'trunk' into optimize_ec2_driver_imports
new 3c73f66 Also allow to change caching behavior by setting
libcloud.pricing.CACHE_ALL_PRICING_DATA module level variable to True.
new 2e0a2a7 Remove testing change.
new 97a2a65 Fix typo.
new ba1a641 Fix lint.
new 5bcaa5f Pin pyopenssl to fix test failure under PyPy 3 on Travis.
new 248e343 Fix typo.
new 2df4a8a Merge pull request #1519 from Kami/optimize_ec2_driver_imports
The 8365 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.travis.yml | 2 +-
CHANGES.rst | 40 +
contrib/scrape-ec2-sizes.py | 107 +-
docs/upgrade_notes.rst | 35 +
libcloud/__init__.py | 20 +-
libcloud/common/types.py | 13 +-
libcloud/compute/base.py | 2 +-
.../compute/constants}/__init__.py | 0
.../ec2_instance_types.py} | 4071 +-------------------
.../constants/ec2_region_details_complete.py | 4066 +++++++++++++++++++
.../constants/ec2_region_details_partial.py | 138 +
libcloud/compute/drivers/ec2.py | 38 +-
libcloud/pricing.py | 66 +-
libcloud/test/compute/test_ec2.py | 4 +-
libcloud/test/pricing_test.json | 8 +
libcloud/test/test_pricing.py | 65 +
libcloud/utils/py3.py | 19 +-
requirements-tests.txt | 2 +-
scripts/time_imports.sh | 57 +
setup.cfg | 2 +-
tox.ini | 25 +-
21 files changed, 4670 insertions(+), 4110 deletions(-)
copy {pylint_plugins => libcloud/compute/constants}/__init__.py (100%)
rename libcloud/compute/{constants.py => constants/ec2_instance_types.py} (76%)
create mode 100644 libcloud/compute/constants/ec2_region_details_complete.py
create mode 100644 libcloud/compute/constants/ec2_region_details_partial.py
create mode 100755 scripts/time_imports.sh