aboutcode-org / aboutcode-org/commoncode
Fix DeprecationWarning in timeutils.py and archive.py
Đang mở
good first issue
- Ngôn ngữ chính
- Python
- Star
- 4
- Fork
- 23
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
```
commoncode/timeutils.py:61: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
datim = dt or datetime.utcnow()
```
```
commoncode/archive.py:61: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
tar.extractall(target_dir, members=to_extract)
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.