elastic / apm-agent-python Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Python 3.10 beta/RC builds to the matrix #952
Merged
Merged
Conversation
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
|
| Test | Results |
|---|---|
| Failed | 0 |
| Passed | 9706 |
| Skipped | 7614 |
| Total | 17320 |
Trends 🧪
💚 Flaky test report
Tests succeeded.
Expand to view the summary
Test stats 🧪
| Test | Results |
|---|---|
| Failed | 0 |
| Passed | 9706 |
| Skipped | 7614 |
| Total | 17320 |
|
3.10 is currently blocked on python/cpython#20333, as |
basepi
approved these changes
Oct 27, 2020
a weird exception is raised during test setup, in the vendored certifi
from pip:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/site-packages/pip/__main__.py", line 26, in <module>
sys.exit(_main())
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/main.py", line 73, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
File "/usr/local/lib/python3.10/site-packages/pip/_internal/commands/__init__.py", line 105, in create_command
module = importlib.import_module(module_path)
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 1005, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 698, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 833, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 17, in <module>
from pip._internal.cli.req_command import RequirementCommand, with_cleanup
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 18, in <module>
from pip._internal.index.collector import LinkCollector
File "/usr/local/lib/python3.10/site-packages/pip/_internal/index/collector.py", line 14, in <module>
from pip._vendor import html5lib, requests
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/requests/__init__.py", line 125, in <module>
from . import utils
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/requests/utils.py", line 40, in <module>
DEFAULT_CA_BUNDLE_PATH = certs.where()
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/certifi/core.py", line 37, in where
_CACERT_PATH = str(_CACERT_CTX.__enter__())
AttributeError: 'PosixPath' object has no attribute '__enter__'
# Conflicts: # .ci/.jenkins_exclude.yml # .ci/.jenkins_python.yml
This is especially problematic when mounting the working directory in docker for testing, as the local Python version may differ from the one in docker.
also, removed a bunch of outdated excludes
beniwohli
added a commit
to beniwohli/apm-agent-python
that referenced
this issue
Sep 14, 2021
* add Python 3.10 beta/RC builds to the matrix * delete any __pycache__ folders to avoid bytecode cache issues This is especially problematic when mounting the working directory in docker for testing, as the local Python version may differ from the one in docker. * remove pathlib dependency, it's part of the standard library since Python 3.4 * Makefile requires tabs... * added excludes for Django < 3.0 and Python 3.10 also, removed a bunch of outdated excludes * more collections.abc-related excludes * asyncpg currently doesn't build on 3.10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Also, promote Python 3.9 from RC to release, it has been released a couple weeks ago