FormalLanguageConstrainedPathQuerying / FormalLanguageConstrainedPathQuerying/formal-lang-course

Warnings in tests

Open
#209 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7
Forks
170
Avg merge
3d 8h
Merged PRs (30d)
1

Description

В результатах тестов есть warning'и. Локально и в CI.
https://github.com/suvorovrain/formal-lang-course/actions/runs/17525068924/job/49774366251#step:5:3237

```
=============================== warnings summary ===============================
tests/test_task1.py::test_get_graph_info
/opt/hostedtoolcache/setup-rye-2024-03-04/0.44.0/x86_64/py/cpython@3.12.5/lib/python3.12/shutil.py:1272: 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.
tarobj.extractall(extract_dir, filter=filter)

tests/test_task1.py::test_save_two_cycles_graph
/home/runner/work/formal-lang-course/formal-lang-course/project/graph_utils.py:26: DeprecationWarning: nx.nx_pydot.to_pydot depends on the pydot package, which has known issues and is not actively maintained.

See https://github.com/networkx/networkx/issues/5723
dot_graph = to_pydot(graph)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================= 4 passed, 2973 skipped, 2 warnings in 4.85s ==================
Configure python path: /home/runner/work/formal-lang-course/formal-lang-course
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the test suite and reviewing the warning output linked from CI, especially tests/test_task1.py and project/graph_utils.py. Determine the source of both DeprecationWarnings and verify the suite completes without these warnings in local and CI runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.