Skip to content

Commit

Permalink
Fix build, changes to python publish workflow and update version (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajothomas committed Apr 2, 2024
1 parent 8a11c18 commit bf366e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/li_python_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: '3.10'
- name: Get build dependencies
working-directory: ./sdks/python
run: python -m pip install -r build-requirements.txt -r build-requirements-linkedin.txt
Expand All @@ -35,5 +35,5 @@ jobs:
working-directory: ./sdks/python
run: twine upload dist/*
env:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
TWINE_USERNAME: __token__
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
import org.apache.spark.metrics.sink.Sink;
import org.checkerframework.checker.nullness.qual.Nullable;


/** An in-memory {@link Sink} implementation for tests. */
public class InMemoryMetrics implements Sink {

@SuppressWarnings("initialization.static.field.uninitialized")
private static WithMetricsSupport extendedMetricsRegistry;

@SuppressWarnings("initialization.static.field.uninitialized")
private static MetricRegistry internalMetricRegistry;

Expand Down Expand Up @@ -81,4 +81,4 @@ public void stop() {}

@Override
public void report() {}
}
}
2 changes: 0 additions & 2 deletions sdks/python/build-requirements-linkedin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ oauth2client
mock
pytz
protobuf
grpcio
pydot
PyYAML
PyVCF
hdfs
avro-python3

0 comments on commit bf366e5

Please sign in to comment.