Commit 6fa8b037 authored by Mitar's avatar Mitar
Browse files

Updating to new core package.

parent 3602b3b2
Pipeline #19166738 passed with stage
in 11 minutes and 6 seconds
......@@ -20,7 +20,7 @@ build_summing_image:
style_check:
stage: build
image: registry.gitlab.com/datadrivendiscovery/images/testing:ubuntu-xenial-python36
image: registry.gitlab.com/datadrivendiscovery/images/testing:ubuntu-artful-python36
script:
- pycodestyle primitives/test_primitives
......@@ -28,19 +28,15 @@ style_check:
type_check:
stage: build
image: registry.gitlab.com/datadrivendiscovery/images/testing:ubuntu-xenial-python36
image: registry.gitlab.com/datadrivendiscovery/images/testing:ubuntu-artful-python36
variables:
DEPENDENCY_REF: devel
script:
- cd primitives
- git clone https://gitlab.com/datadrivendiscovery/metadata.git
- cd metadata
- git clone https://gitlab.com/datadrivendiscovery/d3m.git
- cd d3m
- git checkout ${DEPENDENCY_REF}
- cd ..
- git clone https://gitlab.com/datadrivendiscovery/primitive-interfaces.git
- cd primitive-interfaces
- git checkout ${DEPENDENCY_REF}
- cd ..
- MYPYPATH=metadata:primitive-interfaces mypy test_primitives
- MYPYPATH=d3m mypy test_primitives
......@@ -13,9 +13,9 @@ warn_unused_configs = True
disallow_untyped_defs = True
# TODO: Remove once this is fixed: https://github.com/python/mypy/issues/4300
[mypy-d3m_metadata.container.list]
[mypy-d3m.metadata.container.list]
ignore_errors = True
# TODO: Remove once this is fixed: https://github.com/python/mypy/pull/4384#issuecomment-354033177
[mypy-primitive_interfaces.distance]
[mypy-d3m.primitive_interfaces.distance]
ignore_errors = True
......@@ -22,8 +22,7 @@ setup(
author=read_package_variable('__author__'),
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=[
'd3m_metadata',
'primitive_interfaces',
'd3m',
],
url='https://gitlab.com/datadrivendiscovery/tests-data',
keywords='d3m_primitive',
......
......@@ -3,8 +3,8 @@ import typing
import numpy # type: ignore
from d3m_metadata import container, hyperparams, metadata as metadata_module, params, utils
from primitive_interfaces import base, transformer
from d3m.metadata import container, hyperparams, metadata as metadata_module, params, utils
from d3m.primitive_interfaces import base, transformer
from . import __author__, __version__
......
import os.path
import typing
from d3m_metadata import container, hyperparams, metadata as metadata_module, params, utils
from primitive_interfaces import base, supervised_learning
from d3m.metadata import container, hyperparams, metadata as metadata_module, params, utils
from d3m.primitive_interfaces import base, supervised_learning
from . import __author__, __version__
......
......@@ -3,8 +3,8 @@ import typing
import numpy # type: ignore
from d3m_metadata import container, hyperparams, metadata as metadata_module, params, utils
from primitive_interfaces import base, generator
from d3m.metadata import container, hyperparams, metadata as metadata_module, params, utils
from d3m.primitive_interfaces import base, generator
from . import __author__, __version__
......
......@@ -5,8 +5,8 @@ from http import client
import numpy # type: ignore
from d3m_metadata import container, hyperparams, metadata as metadata_module, params, utils
from primitive_interfaces import base, transformer
from d3m.metadata import container, hyperparams, metadata as metadata_module, params, utils
from d3m.primitive_interfaces import base, transformer
from . import __author__, __version__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment