forked from pinpoint-apm/pinpoint-c-agent
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update mysql-connector-python (pinpoint-apm#695)
* [py] python version > https://devguide.python.org/versions/ - remove python3.8 * [pinpoint-apm#693] update mysql-connector-python > pinpoint-apm#693 # Conflicts: # setup.py # setup_pypi_test.py
- Loading branch information
Showing
15 changed files
with
105 additions
and
29 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ Our advantage: | |
|
||
## Python Agent | ||
|
||
> py 3.8+ | ||
> py 3.9+ | ||
`pip install pinpointPy` | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,5 +55,9 @@ def monkey_patch(): | |
|
||
|
||
__all__ = ['monkey_patch'] | ||
__version__ = '0.0.5' | ||
__version__ = '0.0.6' | ||
__author__ = '[email protected]' | ||
|
||
# Changes | ||
# ## 0.0.6 | ||
# - remove `CMySQLCursor` and `CMySQLCursorPrepared` |
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
bottle==0.12.25 | ||
fastapi==0.111.0 | ||
flask==3.0.0 | ||
httpx==0.25.1 | ||
mysql-connector-python==8.0.31 | ||
pymongo==4.6.3 | ||
PyMySQL==1.1.1 | ||
redis==5.0.1 | ||
requests==2.31.0 | ||
SQLAlchemy==2.0.23 | ||
starlette-context==0.3.6 | ||
mysqlclient==2.2.0 | ||
bottle | ||
fastapi | ||
flask | ||
httpx | ||
mysql-connector-python | ||
pymongo | ||
PyMySQL | ||
redis | ||
requests | ||
SQLAlchemy | ||
starlette-context | ||
mysqlclient | ||
grpcio | ||
grpc-interceptor==0.15.4 | ||
grpc-interceptor | ||
psycopg2 | ||
pinpointPy |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.8 | ||
FROM python:3.12 | ||
WORKDIR /app/ | ||
|
||
COPY testapps/django/mysite/ /app/ | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.8 | ||
FROM python:3.12 | ||
WORKDIR /app/ | ||
|
||
COPY testapps/fastapi/ /app/ | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.8 | ||
FROM python:3.12 | ||
WORKDIR /app/ | ||
|
||
COPY testapps/grpc-py/ /app/ | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.8 | ||
FROM python:3.12 | ||
WORKDIR /app/ | ||
|
||
COPY testapps/grpc-py/ /app/ | ||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM python:latest | ||
|
||
COPY setup.py /pinpoint-c-agent/setup.py | ||
COPY common/ /pinpoint-c-agent/common | ||
COPY README /pinpoint-c-agent/README | ||
COPY plugins/PY /pinpoint-c-agent/plugins/PY | ||
COPY src/PY /pinpoint-c-agent/src/PY | ||
|
||
|
||
RUN pip install -r /pinpoint-c-agent/plugins/PY/requirements.txt | ||
RUN cd /pinpoint-c-agent && pip install -e . | ||
CMD ["python","-m","unittest","discover","-s","/pinpoint-c-agent/plugins/PY/pinpointPy/"] | ||
# CMD [ "python","-m","unittest","pinpointPy.libs._MysqlConnector.test_case.Test_Case" ] | ||
# CMD [ "sleep","infinity" ] | ||
# python -m unittest discover -s /pinpoint-c-agent/plugins/PY/pinpointPy/ |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM python:latest | ||
|
||
COPY setup.py /pinpoint-c-agent/setup.py | ||
COPY common/ /pinpoint-c-agent/common | ||
COPY README /pinpoint-c-agent/README | ||
COPY plugins/PY /pinpoint-c-agent/plugins/PY | ||
COPY src/PY /pinpoint-c-agent/src/PY | ||
|
||
|
||
RUN pip install -r /pinpoint-c-agent/plugins/PY/requirements.txt | ||
RUN cd /pinpoint-c-agent && pip install -e . | ||
CMD ["python","-m","unittest","discover","-s","/pinpoint-c-agent/plugins/PY/pinpointPy/"] | ||
# CMD [ "python","-m","unittest","pinpointPy.libs._MysqlConnector.test_case.Test_Case" ] | ||
# CMD [ "sleep","infinity" ] | ||
# python -m unittest discover -s /pinpoint-c-agent/plugins/PY/pinpointPy/ |
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