Skip to content
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
File renamed without changes.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@ microservices, cloud native and container-based (Docker, Kubernetes, Mesos) arch
The Python agent module is published to [Pypi](https://pypi.org/project/apache-skywalking/), from where you can use `pip` to install:

```shell
# Install the latest version
pip install apache-skywalking
# Install the latest version, using the default gRPC protocol to report data to OAP
pip install "apache-skywalking"

# Install the latest version, using the http protocol to report data to OAP
pip install "apache-skywalking[http]"

# Install the latest version, using the kafka protocol to report data to OAP
pip install "apache-skywalking[kafka]"

# Install a specific version x.y.z
# pip install apache-skywalking==x.y.z
Expand Down
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

setup(
name="apache-skywalking",
version="0.4.0",
version="0.5.0",
description="Python Agent for Apache SkyWalking",
long_description=README,
long_description_content_type="text/markdown",
Expand All @@ -38,7 +38,6 @@
install_requires=[
"grpcio",
"grpcio-tools",
"requests",
"packaging",
],
extras_require={
Expand All @@ -47,6 +46,12 @@
"pyyaml",
"pytest",
],
"http": [
"requests",
],
"kafka": [
"kafka",
],
},
classifiers=[
"Framework :: Flake8",
Expand Down
3 changes: 2 additions & 1 deletion tests/plugin/docker/docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ services:
build:
context: .
dockerfile: Dockerfile.tool
image: skywalking-collector:ci
ports:
- 19876:19876
- 12800:12800
Expand All @@ -36,9 +37,9 @@ services:
agent:
build:
context: ../../../
dockerfile: tests/plugin/docker/Dockerfile.agent
args:
- SW_PYTHON_VERSION=${SW_PYTHON_VERSION:-latest}
image: skywalking-agent:ci
environment:
SW_AGENT_COLLECTOR_BACKEND_SERVICES: collector:19876
SW_AGENT_LOGGING_LEVEL: DEBUG
Expand Down
3 changes: 0 additions & 3 deletions tests/plugin/sw_requests/test_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ class TestPlugin(TestPluginBase):
'requests==2.24.0',
'requests==2.20.0',
'requests==2.19.0',
'requests==2.18.0',
'requests==2.17.0',
'requests==2.13.0',
'requests==2.11.0',
'requests==2.9.0',
])
def test_plugin(self, docker_compose, version):
Expand Down
3 changes: 0 additions & 3 deletions tests/plugin/sw_sanic/test_sanic.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ class TestPlugin(TestPluginBase):
@pytest.mark.parametrize('version', [
'sanic==20.3.0',
'sanic==20.6.0',
'sanic==20.6.1',
'sanic==20.6.2',
'sanic==20.6.3',
'sanic==20.9.0',
'sanic==20.9.1',
])
Expand Down