Getting warnings while running tests on Docker.
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách chạy make test trong môi trường Docker và so sánh đầu ra cảnh báo với issue. Kiểm tra parsers/third_party/usecounters.py, cảnh báo của botocore về urllib3 vendored và nguồn của cảnh báo jsonschema được nêu trong đầu ra. Hoàn thành có nghĩa là các test vẫn pass mà không có những cảnh báo deprecation này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
when I am running make test command, I am getting this
================================================================== warnings summary ==================================================================
/usr/local/lib/python3.8/site-packages/botocore/vendored/requests/packages/urllib3/_collections.py:1
/usr/local/lib/python3.8/site-packages/botocore/vendored/requests/packages/urllib3/_collections.py:1
/usr/local/lib/python3.8/site-packages/botocore/vendored/requests/packages/urllib3/_collections.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import Mapping, MutableMapping
tests/test_git_scraper.py::test_normal_repo
tests/test_git_scraper.py::test_improper_metrics_repo
tests/test_git_scraper.py::test_check_for_duplicate_metrics
tests/test_git_scraper.py::test_check_for_expired_metrics
tests/test_repositories_parser.py::test_repositories
tests/test_repositories_parser.py::test_repositories_parser_incorrect
tests/test_repositories_parser.py::test_repositories_parser_not_kebab_case
tests/test_repositories_parser.py::test_repositories_class
/usr/local/lib/python3.8/site-packages/jsonschema/validators.py:928: DeprecationWarning: The metaschema specified by $schema was not found. Using the latest draft to validate, but this will raise an error in the future.
cls = validator_for(schema)
tests/test_histogram_parser.py::test_histogram_parser_old
tests/test_histogram_parser.py::test_histogram_parser_new
/app/probe_scraper/parsers/third_party/usecounters.py:11: DeprecationWarning: 'U' mode is deprecated
stream = open(conf_filename, 'rU')
-- Docs: https://docs.pytest.org/en/stable/warnings.html
==================================================== 53 passed, 12 warnings in 218.96s (0:03:38) =====================================================
Even though I didn't make any changes in the forked repository, I am getting 12 warnings.
- Ngôn ngữ chính
- Python
- Star
- 27
- Fork
- 75
- Merge trung bình
- 2 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mozilla/probe-scraper
-
enhancement good-first-bug help wanted priority:4
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mozilla/probe-scraper#13 · 12 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
mozilla/probe-scraper#1078 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
mozilla/probe-scraper#1074 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
mozilla/probe-scraper#1068 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
mozilla/probe-scraper#1039 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của mozilla/probe-scraper
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
bigbio/sdrf-pipelines#372 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Open Source] PixelboltĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
521xueweihan/HelloGitHub#4297 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
aws-samples/sample-per-model-bedrock#822 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:study-data p2-high ready-for-agent type:chore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
fderuiter/deruiter.dev#3706 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
awslabs/visual-asset-management-system#1234 ·
Maintainer thường phản hồi trong vòng 1 ngày