Skip to content

Conversation

@brianjmurrell
Copy link
Contributor

Add method to update named ranges in a spreadsheet.

Fixes #1573

Add method to update named ranges in a spreadsheet.
@brianjmurrell
Copy link
Contributor Author

I'm out of my depth here with the pytest lint_python / lint_python error here:

==================================== ERRORS ====================================
___________________ ERROR collecting tests/worksheet_test.py ___________________
tests/worksheet_test.py:21: in <module>
    class WorksheetTest(GspreadTest):
tests/worksheet_test.py:39: in WorksheetTest
    @pytest.fixture(autouse=True)
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/py/lib/python3.14/site-packages/_pytest/fixtures.py:1239: in __call__
    warnings.warn(MARKED_FIXTURE, stacklevel=2)
E   pytest.PytestRemovedIn9Warning: Marks applied to fixtures have no effect
E   See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
=========================== short test summary info ============================
ERROR tests/worksheet_test.py - pytest.PytestRemovedIn9Warning: Marks applied...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.38s ===============================
py: exit 2 (1.37 seconds) /home/runner/work/gspread/gspread> pytest tests/ pid=2591
.pkg: _exit> python /opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/site-packages/pyproject_api/_backend.py True flit_core.buildapi
  py: FAIL code 2 (9.91=setup[8.53]+cmd[1.37] seconds)
  evaluation failed :( (9.96 seconds)

but regardless it doesn't seem related to my change here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Desperately need update_named_range()

1 participant