diff --git a/platformio/__init__.py b/platformio/__init__.py index 0b4f11ed..960b6672 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -1,7 +1,7 @@ # Copyright (C) Ivan Kravets # See LICENSE for details. -VERSION = (1, 2, "0.dev1") +VERSION = (1, 2, "0.dev2") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/pkgmanager.py b/platformio/pkgmanager.py index 757031e3..bd0e816f 100644 --- a/platformio/pkgmanager.py +++ b/platformio/pkgmanager.py @@ -28,7 +28,7 @@ class PackageManager(object): try: return cls._cached_manifest except AttributeError: - cls._cached_manifest = get_api_result("/packages") + cls._cached_manifest = get_api_result("/packages/manifest") return cls._cached_manifest @staticmethod diff --git a/tests/test_pkgmanifest.py b/tests/test_pkgmanifest.py index 25bddfd2..1493813a 100644 --- a/tests/test_pkgmanifest.py +++ b/tests/test_pkgmanifest.py @@ -29,7 +29,7 @@ def sfpkglist(): def pytest_generate_tests(metafunc): if "package_data" not in metafunc.fixturenames: return - pkgs_manifest = get_api_result("/packages") + pkgs_manifest = get_api_result("/packages/manifest") assert isinstance(pkgs_manifest, dict) packages = [] for _, variants in pkgs_manifest.iteritems():