Skip to content

build: fix pydantic package version #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/pip_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ grpcio
grpcio-reflection
google-api-core
grpcio-health-checking
pydantic==1.*
mongoengine
fastapi
fastapi-utils
uvicorn
Expand All @@ -21,8 +23,6 @@ python-consul
dnspython
requests
click
pydantic
mongoengine
boto3
unittest-xml-reporting
factory-boy
Expand Down
101 changes: 44 additions & 57 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,82 +18,69 @@
from setuptools import setup, find_packages

setup(
name='spaceone-core',
version=os.environ.get('PACKAGE_VERSION'),
description='Cloudforet Core Library',
long_description='',
url='https://cloudforet.io/',
author='MEGAZONE Cloud Corp.',
author_email='admin@spaceone.dev',
license='Apache License 2.0',
name="spaceone-core",
version=os.environ.get("PACKAGE_VERSION"),
description="Cloudforet Core Library",
long_description="",
url="https://cloudforet.io/",
author="MEGAZONE Cloud Corp.",
author_email="admin@spaceone.dev",
license="Apache License 2.0",
packages=find_packages(),
install_requires=[
# grpc packages
'protobuf==3.*',
"protobuf==3.*",
# 'grpcio',
'grpcio-reflection',
'google-api-core',
'grpcio-health-checking',

"grpcio-reflection",
"google-api-core",
"grpcio-health-checking",
# model packages
"pydantic=1.*",
"mongoengine",
# fastapi packages
'fastapi',
'fastapi-utils',
'uvicorn',

"fastapi",
"fastapi-utils",
"uvicorn",
# asyncio packages
'asyncio',

"asyncio",
# data parser packages
'PyYAML',
'jsonschema',

"PyYAML",
"jsonschema",
# scheduler packages
'schedule',
'scheduler-cron',

"schedule",
"scheduler-cron",
# cache packages
'redis',
'cachetools',

"redis",
"cachetools",
# crypto(jwt) packages
'pycryptodome',
'jwcrypto',
'python-jose',

"pycryptodome",
"jwcrypto",
"python-jose",
# utils packages
'python-dateutil',
'python-consul',
'dnspython',

"python-dateutil",
"python-consul",
"dnspython",
# HTTP packages
'requests',

"requests",
# CLI packages
'click',

# model packages
'pydantic',
'mongoengine',

"click",
# AWS packages
'boto3',

"boto3",
# test framework packages
'unittest-xml-reporting',
'factory-boy',
'mongomock',

"unittest-xml-reporting",
"factory-boy",
"mongomock",
# tracing packages
'opentelemetry-api',
'opentelemetry-sdk',
'opentelemetry-exporter-otlp-proto-grpc',
'opentelemetry-instrumentation-logging',
'opentelemetry-exporter-prometheus'
"opentelemetry-api",
"opentelemetry-sdk",
"opentelemetry-exporter-otlp-proto-grpc",
"opentelemetry-instrumentation-logging",
"opentelemetry-exporter-prometheus",
],
zip_safe=False,
entry_points={
'console_scripts': [
'spaceone = spaceone.core.command:cli',
"console_scripts": [
"spaceone = spaceone.core.command:cli",
]
},
)
Loading