Skip to content

Commit

Permalink
ci: test ci (#6169)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanFM authored May 16, 2024
1 parent 9dcd0c1 commit 12e2a94
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 25 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -401,13 +401,6 @@ jobs:
run: |
python -m cibuildwheel --output-dir dist
- name: Test wheels
run: |
WHEEL_FILE=$(ls dist/*.whl)
python -m pip install $WHEEL_FILE
python -c "import jraft"
if: ${{ matrix.os != 'macos-latest' || matrix.platform_id != 'macosx_arm64' }} # runners do not necessarily have macos ARM, so cannot run this test for it

- name: Upload wheels as artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -690,13 +690,6 @@ jobs:
run: |
python -m cibuildwheel --output-dir dist
- name: Test wheels
run: |
WHEEL_FILE=$(ls dist/*.whl)
python -m pip install $WHEEL_FILE
python -c "import jraft"
if: ${{ matrix.os != 'macos-latest' || matrix.platform_id != 'macosx_arm64' }} # runners do not necessarily have macos ARM, so cannot run this test for it

- name: Upload wheels as artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
3 changes: 1 addition & 2 deletions jina/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ def _ignore_google_warnings():
except Exception as e:
_warnings.warn(f'failed to set multiprocessing start_method to `fork`: {e!r}')

# do not change this line manually
# this is managed by git tag and updated on every release
# do not change this line manually this is managed by git tag and updated on every release
# NOTE: this represents the NEXT release version

__version__ = '3.25.2'
Expand Down
18 changes: 9 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ def get_extra_requires(path, add_all=True):
standard_deps = all_deps['standard'].union(core_deps).union(perf_deps)

# uvloop is not supported on windows
perf_deps = {i+";platform_system!='Windows'" if i.startswith('uvloop') else i for i in perf_deps}
standard_deps = {i+";platform_system!='Windows'" if i.startswith('uvloop') else i for i in standard_deps}
perf_deps = {i + ";platform_system!='Windows'" if i.startswith('uvloop') else i for i in perf_deps}
standard_deps = {i + ";platform_system!='Windows'" if i.startswith('uvloop') else i for i in standard_deps}
for k in ['all', 'devel', 'cicd']:
all_deps[k] = {i+";platform_system!='Windows'" if i.startswith('uvloop') else i for i in all_deps[k]}
all_deps[k] = {i + ";platform_system!='Windows'" if i.startswith('uvloop') else i for i in all_deps[k]}

# by default, final deps is the standard deps, unless specified by env otherwise
final_deps = standard_deps
Expand Down Expand Up @@ -193,11 +193,11 @@ def get_extra_requires(path, add_all=True):
version=__version__,
include_package_data=True,
description='Multimodal AI services & pipelines with cloud-native stack: gRPC, Kubernetes, Docker, OpenTelemetry, Prometheus, Jaeger, etc.',
author= AUTHOR_NAME,
author_email= AUTHOR_EMAIL,
license= LICENSE,
url= GITHUB_REPO,
download_url= DOWNLOAD_URL,
author=AUTHOR_NAME,
author_email=AUTHOR_EMAIL,
license=LICENSE,
url=GITHUB_REPO,
download_url=DOWNLOAD_URL,
long_description=_long_description,
long_description_content_type='text/markdown',
zip_safe=False,
Expand Down Expand Up @@ -244,6 +244,6 @@ def get_extra_requires(path, add_all=True):
'Tracker': TRACKER,
},
keywords='jina cloud-native cross-modal multimodal neural-search query search index elastic neural-network encoding '
'embedding serving docker container image video audio deep-learning mlops',
'embedding serving docker container image video audio deep-learning mlops',
**extra_golang_kw,
)

0 comments on commit 12e2a94

Please sign in to comment.