Skip to content

Commit

Permalink
releng - 0.9.21.0 pkg-increment and pkg-rebase (cloud-custodian#7990)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisshi authored Nov 21, 2022
1 parent e941054 commit 5df4314
Show file tree
Hide file tree
Showing 61 changed files with 1,526 additions and 1,482 deletions.
2 changes: 1 addition & 1 deletion c7n/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Generated via tools/dev/poetrypkg.py
version = "0.9.20"
version = "0.9.21"
312 changes: 155 additions & 157 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "c7n"
version = "0.9.20"
version = "0.9.21"
description = "Cloud Custodian - Policy Rules Engine"
authors = ["Cloud Custodian Project"]
readme = "README.md"
Expand Down
43 changes: 22 additions & 21 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,77 +1,78 @@
argcomplete==2.0.0 ; python_version >= "3.7" and python_version < "4.0"
attrs==22.1.0 ; python_version >= "3.7" and python_version < "4.0"
aws-xray-sdk==2.10.0 ; python_version >= "3.7" and python_version < "4.0"
aws-xray-sdk==2.11.0 ; python_version >= "3.7" and python_version < "4.0"
bleach==5.0.1 ; python_version >= "3.7" and python_version < "4.0"
boto3==1.24.88 ; python_version >= "3.7" and python_version < "4.0"
botocore==1.27.88 ; python_version >= "3.7" and python_version < "4.0"
boto3==1.26.9 ; python_version >= "3.7" and python_version < "4.0"
botocore==1.29.9 ; python_version >= "3.7" and python_version < "4.0"
certifi==2022.9.24 ; python_version >= "3.7" and python_version < "4"
cffi==1.15.1 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux"
charset-normalizer==2.1.1 ; python_version >= "3.7" and python_version < "4"
click==8.1.3 ; python_version >= "3.7" and python_version < "4.0"
colorama==0.4.5 ; python_version >= "3.7" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.7" and python_version < "4.0"
coverage==6.5.0 ; python_version >= "3.7" and python_version < "4.0"
coverage[toml]==6.5.0 ; python_version >= "3.7" and python_version < "4.0"
cryptography==38.0.1 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux"
cryptography==38.0.3 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux"
docutils==0.17.1 ; python_version >= "3.7" and python_version < "4.0"
exceptiongroup==1.0.3 ; python_version >= "3.7" and python_version < "3.11"
execnet==1.9.0 ; python_version >= "3.7" and python_version < "4.0"
flake8==3.9.2 ; python_version >= "3.7" and python_version < "4.0"
freezegun==1.2.2 ; python_version >= "3.7" and python_version < "4.0"
idna==3.4 ; python_version >= "3.7" and python_version < "4.0"
importlib-metadata==4.13.0 ; python_version >= "3.7" and python_version < "4.0"
importlib-resources==5.9.0 ; python_version >= "3.7" and python_version < "3.9"
importlib-resources==5.10.0 ; python_version >= "3.7" and python_version < "3.9"
iniconfig==1.1.1 ; python_version >= "3.7" and python_version < "4.0"
jaraco-classes==3.2.3 ; python_version >= "3.7" and python_version < "4.0"
jeepney==0.8.0 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux"
jmespath==1.0.1 ; python_version >= "3.7" and python_version < "4.0"
jsonpatch==1.32 ; python_version >= "3.7" and python_version < "4.0"
jsonpointer==2.3 ; python_version >= "3.7" and python_version < "4.0"
jsonschema==4.16.0 ; python_version >= "3.7" and python_version < "4.0"
keyring==23.9.3 ; python_version >= "3.7" and python_version < "4.0"
jsonschema==4.17.0 ; python_version >= "3.7" and python_version < "4.0"
keyring==23.11.0 ; python_version >= "3.7" and python_version < "4.0"
mccabe==0.6.1 ; python_version >= "3.7" and python_version < "4.0"
mock==4.0.3 ; python_version >= "3.7" and python_version < "4.0"
more-itertools==8.14.0 ; python_version >= "3.7" and python_version < "4.0"
more-itertools==9.0.0 ; python_version >= "3.7" and python_version < "4.0"
multidict==6.0.2 ; python_version >= "3.7" and python_version < "4.0"
packaging==21.3 ; python_version >= "3.7" and python_version < "4.0"
pkginfo==1.8.3 ; python_version >= "3.7" and python_version < "4.0"
pkgutil-resolve-name==1.3.10 ; python_version >= "3.7" and python_version < "3.9"
placebo==0.9.0 ; python_version >= "3.7" and python_version < "4.0"
pluggy==1.0.0 ; python_version >= "3.7" and python_version < "4.0"
portalocker==2.5.1 ; python_version >= "3.7" and python_version < "4.0"
psutil==5.9.2 ; python_version >= "3.7" and python_version < "4.0"
portalocker==2.6.0 ; python_version >= "3.7" and python_version < "4.0"
psutil==5.9.4 ; python_version >= "3.7" and python_version < "4.0"
py==1.11.0 ; python_version >= "3.7" and python_version < "4.0"
pycodestyle==2.7.0 ; python_version >= "3.7" and python_version < "4.0"
pycparser==2.21 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux"
pyflakes==2.3.1 ; python_version >= "3.7" and python_version < "4.0"
pygments==2.13.0 ; python_version >= "3.7" and python_version < "4.0"
pyparsing==3.0.9 ; python_version >= "3.7" and python_version < "4.0"
pyrsistent==0.18.1 ; python_version >= "3.7" and python_version < "4.0"
pyrsistent==0.19.2 ; python_version >= "3.7" and python_version < "4.0"
pytest-cov==3.0.0 ; python_version >= "3.7" and python_version < "4.0"
pytest-forked==1.4.0 ; python_version >= "3.7" and python_version < "4.0"
pytest-recording==0.12.1 ; python_version >= "3.7" and python_version < "4.0"
pytest-sugar==0.9.5 ; python_version >= "3.7" and python_version < "4.0"
pytest-sugar==0.9.6 ; python_version >= "3.7" and python_version < "4.0"
pytest-terraform==0.6.4 ; python_version >= "3.7" and python_version < "4.0"
pytest-xdist==2.5.0 ; python_version >= "3.7" and python_version < "4.0"
pytest==7.1.3 ; python_version >= "3.7" and python_version < "4.0"
pytest==7.2.0 ; python_version >= "3.7" and python_version < "4.0"
python-dateutil==2.8.2 ; python_version >= "3.7" and python_version < "4.0"
pywin32-ctypes==0.2.0 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "win32"
pywin32==304 ; python_version >= "3.7" and python_version < "4.0" and platform_system == "Windows"
pywin32==305 ; python_version >= "3.7" and python_version < "4.0" and platform_system == "Windows"
pyyaml==6.0 ; python_version >= "3.7" and python_version < "4.0"
readme-renderer==37.2 ; python_version >= "3.7" and python_version < "4.0"
requests-toolbelt==0.9.1 ; python_version >= "3.7" and python_version < "4.0"
readme-renderer==37.3 ; python_version >= "3.7" and python_version < "4.0"
requests-toolbelt==0.10.1 ; python_version >= "3.7" and python_version < "4.0"
requests==2.28.1 ; python_version >= "3.7" and python_version < "4"
rfc3986==2.0.0 ; python_version >= "3.7" and python_version < "4.0"
s3transfer==0.6.0 ; python_version >= "3.7" and python_version < "4.0"
secretstorage==3.3.3 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux"
six==1.16.0 ; python_version >= "3.7" and python_version < "4.0"
tabulate==0.8.10 ; python_version >= "3.7" and python_version < "4.0"
termcolor==2.0.1 ; python_version >= "3.7" and python_version < "4.0"
tomli==2.0.1 ; python_version >= "3.7" and python_version < "4.0"
termcolor==2.1.0 ; python_version >= "3.7" and python_version < "4.0"
tomli==2.0.1 ; python_version >= "3.7" and python_full_version <= "3.11.0a6"
tqdm==4.64.1 ; python_version >= "3.7" and python_version < "4.0"
twine==3.8.0 ; python_version >= "3.7" and python_version < "4.0"
typing-extensions==4.3.0 ; python_version >= "3.7" and python_version < "3.8"
typing-extensions==4.4.0 ; python_version >= "3.7" and python_version < "3.8"
urllib3==1.26.12 ; python_version >= "3.7" and python_version < "4"
vcrpy==4.2.1 ; python_version >= "3.7" and python_version < "4.0"
webencodings==0.5.1 ; python_version >= "3.7" and python_version < "4.0"
wrapt==1.14.1 ; python_version >= "3.7" and python_version < "4.0"
yarl==1.8.1 ; python_version >= "3.7" and python_version < "4.0"
zipp==3.8.1 ; python_version >= "3.7" and python_version < "4.0"
zipp==3.10.0 ; python_version >= "3.7" and python_version < "4.0"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

setup_kwargs = {
'name': 'c7n',
'version': '0.9.20',
'version': '0.9.21',
'description': 'Cloud Custodian - Policy Rules Engine',
'license': 'Apache-2.0',
'classifiers': [
Expand Down
15 changes: 14 additions & 1 deletion tests/test_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_package_metadata(package):
if c.exists():
found = True
p = c
assert found, "could not find pyproject.yaml"
assert found, "could not find %s pyproject.toml" % package
data = tomli.loads(p.read_text())
md = data['tool']['poetry']
assert md.get('homepage') == 'https://cloudcustodian.io'
Expand All @@ -38,3 +38,16 @@ def test_package_metadata(package):
assert md.get('readme', '').endswith('md')
assert (p.parent / md['readme']).exists()
assert 'description' in md


def test_version_match():
"""
Ensures that the version in c7n.version matches the pyproject.toml version
"""
from c7n.version import version
m = __import__('c7n')
pyproject = Path(m.__file__).parent.parent / 'pyproject.toml'
with open(pyproject, 'r') as f:
loaded = tomli.loads(f.read())
pyproject_version = loaded['tool']['poetry']['version']
assert pyproject_version == version
19 changes: 19 additions & 0 deletions tests/test_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,25 @@ def test_config_resource_support(self):
'AWS::Detective::Graph',
'AWS::EC2::TransitGatewayRouteTable',
'AWS::AppSync::GraphQLApi',
'AWS::DataSync::Task',
'AWS::Glue::Job',
'AWS::SageMaker::NotebookInstanceLifecycleConfig',
'AWS::SES::ContactList',
'AWS::SageMaker::Workteam',
'AWS::EKS::FargateProfile',
'AWS::DataSync::LocationFSxLustre',
'AWS::AppConfig::Application',
'AWS::DataSync::LocationS3',
'AWS::ServiceDiscovery::PublicDnsNamespace',
'AWS::EC2::NetworkInsightsAccessScopeAnalysis',
'AWS::Route53::HostedZone',
'AWS::GuardDuty::IPSet',
'AWS::SES::ConfigurationSet',
'AWS::GuardDuty::ThreatIntelSet',
'AWS::DataSync::LocationNFS',
'AWS::DataSync::LocationEFS',
'AWS::ServiceDiscovery::Service',
'AWS::DataSync::LocationSMB',
}

resource_map = {}
Expand Down
Loading

0 comments on commit 5df4314

Please sign in to comment.