forked from amundsen-io/amundsen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: undo the great unpinning (amundsen-io#1267)
* undo the great unpinning Signed-off-by: Dmitriy Kunitskiy <[email protected]> * remove all extra requires Signed-off-by: Dmitriy Kunitskiy <[email protected]> * dev back to all Signed-off-by: Dmitriy Kunitskiy <[email protected]> Signed-off-by: Amom <[email protected]>
- Loading branch information
1 parent
eec3119
commit b204470
Showing
6 changed files
with
40 additions
and
28 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,20 +4,13 @@ | |
|
||
from setuptools import find_packages, setup | ||
|
||
__version__ = '0.16.0' | ||
__version__ = '0.17.0' | ||
|
||
requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements-common.txt') | ||
with open(requirements_path) as requirements_file: | ||
requirements_common = requirements_file.readlines() | ||
|
||
requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements-dev.txt') | ||
with open(requirements_path) as requirements_file: | ||
requirements_dev = requirements_file.readlines() | ||
|
||
# avoid circular references | ||
requirements_common = [r for r in requirements_common if not r.startswith('amundsen-common')] | ||
|
||
all_deps = requirements_common + requirements_dev | ||
|
||
setup( | ||
name='amundsen-common', | ||
|
@@ -29,10 +22,29 @@ | |
maintainer='Amundsen TSC', | ||
maintainer_email='[email protected]', | ||
packages=find_packages(exclude=['tests*']), | ||
install_requires=requirements_common, | ||
install_requires=[ | ||
# Packages in here should rarely be pinned. This is because these | ||
# packages (at the specified version) are required for project | ||
# consuming this library. By pinning to a specific version you are the | ||
# number of projects that can consume this or forcing them to | ||
# upgrade/downgrade any dependencies pinned here in their project. | ||
# | ||
# Generally packages listed here are pinned to a major version range. | ||
# | ||
# e.g. | ||
# Python FooBar package for foobaring | ||
# pyfoobar>=1.0, <2.0 | ||
# | ||
# This will allow for any consuming projects to use this library as | ||
# long as they have a version of pyfoobar equal to or greater than 1.x | ||
# and less than 2.x installed. | ||
'Flask>=1.0.2', | ||
'attrs>=19.0.0', | ||
'marshmallow>=3.0', | ||
'marshmallow3-annotations>=1.0.0' | ||
], | ||
extras_require={ | ||
'all': all_deps, | ||
'dev': requirements_dev | ||
'all': requirements_dev | ||
}, | ||
python_requires=">=3.6", | ||
package_data={'amundsen_common': ['py.typed']}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters