Skip to content

Commit

Permalink
New release: 1.1.0 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra authored Feb 2, 2021
1 parent edfb9e3 commit 4d40f39
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
9 changes: 5 additions & 4 deletions jinja2-gcp-secret-manager/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '1.0.0'
__version__ = '1.1.0'
__author__ = 'Yash Mehrotra'
__license__ = 'Apache 2.0'

Expand All @@ -24,7 +24,10 @@ def parse(self, parser):

parser.stream.skip_if('comma')
version = nodes.Const('latest')
project = PROJECT_ID
if not PROJECT_ID:
parser.fail("Project not specified", lineno=lineno)
project = nodes.Const(PROJECT_ID)

if parser.stream.skip_if('name:version'):
parser.stream.skip(1)
version = parser.parse_expression()
Expand All @@ -33,8 +36,6 @@ def parse(self, parser):
parser.stream.skip(1)
project = parser.parse_expression()

if not project:
parser.fail("project not specified", lineno=lineno)

args = (name, version, project)

Expand Down
13 changes: 10 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@
packages=setuptools.find_packages(),
license='Apache 2.0',
install_requires=[
'google-auth',
'google-cloud-secret-manager>=2.0.0',
'Jinja2>=2.11.2',
'Jinja2==2.11.3',
'google-cloud-secret-manager==2.2.0',
# These are dependencies of secret-manager package, had to put
# them here to make it work
'google-api-core[grpc]==1.25.1',
'grpc-google-iam-v1==0.12.3',
'proto-plus==1.13.0',
'libcst >= 0.2.5',
'protobuf==3.14.0',
'googleapis-common-protos==1.52.0',
],
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 4d40f39

Please sign in to comment.