Skip to content

feat: add version check support #180

feat: add version check support

feat: add version check support #180

GitHub Actions / integration-test-results failed Sep 25, 2024 in 0s

1 fail, 27 pass in 3m 48s

 19 files   19 suites   3m 48s ⏱️
 28 tests  27 ✅   0 💤  1 ❌
532 runs  411 ✅ 104 💤 17 ❌

Results for commit 27a8565.

Annotations

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2024.04.0 - Integration Test Report/2024.04.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.04.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7fb717ecf230>, args = ()
kwargs = {}, version = '2024.04.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.04.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2023.06.0 - Integration Test Report/2023.06.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.06.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7ff9ce18a090>, args = ()
kwargs = {}, version = '2023.06.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.06.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2024.06.0 - Integration Test Report/2024.06.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.06.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7fa823e6dbb0>, args = ()
kwargs = {}, version = '2024.06.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.06.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2023.05.0 - Integration Test Report/2023.05.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.05.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7f0053484e60>, args = ()
kwargs = {}, version = '2023.05.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.05.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2024.04.1 - Integration Test Report/2024.04.1.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.04.1. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7fa252fb8170>, args = ()
kwargs = {}, version = '2024.04.1'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.04.1. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2022.11.0 - Integration Test Report/2022.11.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2022.11.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7ff43bbdd970>, args = ()
kwargs = {}, version = '2022.11.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2022.11.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2022.12.0 - Integration Test Report/2022.12.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2022.12.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7f834eb9af60>, args = ()
kwargs = {}, version = '2022.12.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2022.12.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2023.01.0 - Integration Test Report/2023.01.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.01.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7f2eeb852de0>, args = ()
kwargs = {}, version = '2023.01.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.01.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2024.02.0 - Integration Test Report/2024.02.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.02.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7f39ac9b6c60>, args = ()
kwargs = {}, version = '2024.02.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.02.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2023.12.0 - Integration Test Report/2023.12.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.12.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7febe0fd8860>, args = ()
kwargs = {}, version = '2023.12.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.12.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2023.01.1 - Integration Test Report/2023.01.1.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.01.1. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7f70434959a0>, args = ()
kwargs = {}, version = '2023.01.1'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.01.1. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2024.03.0 - Integration Test Report/2024.03.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.03.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7f9663b0a2a0>, args = ()
kwargs = {}, version = '2024.03.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.03.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2023.07.0 - Integration Test Report/2023.07.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.07.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7ffaae00ccb0>, args = ()
kwargs = {}, version = '2023.07.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.07.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2024.01.0 - Integration Test Report/2024.01.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.01.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7fbc1018f530>, args = ()
kwargs = {}, version = '2024.01.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.01.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2024.05.0 - Integration Test Report/2024.05.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.05.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7fdcb5b07650>, args = ()
kwargs = {}, version = '2024.05.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2024.05.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2023.09.0 - Integration Test Report/2023.09.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.09.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7fad32be6d80>, args = ()
kwargs = {}, version = '2023.09.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.09.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException

Check warning on line 0 in integration.tests.posit.connect.test_client

See this annotation in the file changed.

@github-actions github-actions / integration-test-results

1 out of 19 runs failed: test_oauth (integration.tests.posit.connect.test_client)

artifacts/2023.10.0 - Integration Test Report/2023.10.0.xml [took 0s]
Raw output
posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.10.0. Please upgrade to version 2024.08.0 or later.
def test_oauth():
        client = connect.Client()
>       assert client.oauth

tests/posit/connect/test_client.py:11: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <posit.connect.client.Client object at 0x7f3b9b5ff200>, args = ()
kwargs = {}, version = '2023.10.0'

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if hasattr(self, "version"):
            version = getattr(self, "version")
            if version and Version(version) < Version(expected):
>               raise VersionUpgradeRequiredException(version, expected)
E               posit.connect.exceptions.VersionUpgradeRequiredException: This API is not available in Connect version 2023.10.0. Please upgrade to version 2024.08.0 or later.

../src/posit/connect/version.py:15: VersionUpgradeRequiredException