Skip to content

Commit 9e59fbc

Browse files
authored
Merge branch 'main' into update-sfdc-api-v65.0
2 parents 57f6ddb + 000d441 commit 9e59fbc

46 files changed

Lines changed: 2183 additions & 357 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cumulusci/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.6.0"
1+
__version__ = "4.8.1"

cumulusci/core/config/project_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
API_VERSION_RE = re.compile(r"^\d\d+\.0$")
2323

2424
import github3
25-
from pydantic import ValidationError
25+
from pydantic.v1 import ValidationError
2626

2727
from cumulusci.core.config import FlowConfig, TaskConfig
2828
from cumulusci.core.config.base_task_flow_config import BaseTaskFlowConfig

cumulusci/core/dependencies/dependencies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from typing import List, Optional
77
from zipfile import ZipFile
88

9-
import pydantic
9+
import pydantic.v1 as pydantic
1010
from github3.exceptions import NotFoundError
1111
from github3.repos.repo import Repository
12-
from pydantic.networks import AnyUrl
12+
from pydantic.v1.networks import AnyUrl
1313

1414
from cumulusci.core.config import OrgConfig
1515
from cumulusci.core.config.project_config import BaseProjectConfig

cumulusci/core/dependencies/tests/test_dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from zipfile import ZipFile
66

77
import pytest
8-
from pydantic import ValidationError
8+
from pydantic.v1 import ValidationError
99

1010
from cumulusci.core.config.org_config import OrgConfig, VersionInfo
1111
from cumulusci.core.config.project_config import BaseProjectConfig

cumulusci/core/source/github.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import os
22
import shutil
33

4-
import fs
54
from github3.exceptions import NotFoundError
65

76
from cumulusci.core.exceptions import DependencyResolutionError
@@ -129,7 +128,7 @@ def resolve(self):
129128
def fetch(self):
130129
"""Fetch the archive of the specified commit and construct its project config."""
131130
with self.project_config.open_cache(
132-
fs.path.join("projects", self.repo_name, self.commit)
131+
os.path.join("projects", self.repo_name, self.commit)
133132
) as path:
134133
zf = download_extract_github(
135134
self.gh, self.repo_owner, self.repo_name, ref=self.commit

cumulusci/core/source_transforms/tests/test_transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import pytest
1010
from lxml import etree as ET
11-
from pydantic import ValidationError
11+
from pydantic.v1 import ValidationError
1212

1313
from cumulusci.core.exceptions import CumulusCIException, TaskOptionsError
1414
from cumulusci.core.source_transforms.transforms import (

cumulusci/core/source_transforms/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from zipfile import ZipFile
1111

1212
from lxml import etree as ET
13-
from pydantic import BaseModel, root_validator
13+
from pydantic.v1 import BaseModel, root_validator
1414

1515
from cumulusci.core.dependencies.utils import TaskContext
1616
from cumulusci.core.enums import StrEnum

cumulusci/core/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from contextlib import nullcontext
1212
from typing import Any, Callable, Dict, List, Optional, Type, Union
1313

14-
from pydantic.error_wrappers import ValidationError
14+
from pydantic.v1.error_wrappers import ValidationError
1515

1616
from cumulusci import __version__
1717
from cumulusci.core.config import TaskConfig

cumulusci/core/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import re
22
from typing import Optional, Union
33

4-
from pydantic import BaseModel
4+
from pydantic.v1 import BaseModel
55

66
from cumulusci.core.enums import StrEnum
77

cumulusci/oauth/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from cryptography.hazmat.primitives import hashes, serialization
2020
from cryptography.hazmat.primitives.asymmetric import rsa
2121
from cryptography.x509.oid import NameOID
22-
from pydantic import BaseModel
22+
from pydantic.v1 import BaseModel
2323

2424
from cumulusci.core.exceptions import CumulusCIUsageError
2525
from cumulusci.oauth.exceptions import OAuth2Error

0 commit comments

Comments
 (0)