DEPRECATION: Legacy editable install of myxblock-xblock==0.1is deprecated

Open
#389 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Start by following the linked XBlock tutorial and reproducing the installation of the generated myxblock package. Inspect the generated package's setup.py and the editable-install warning; done means the tutorial no longer produces the reported legacy editable-install deprecation warning with current pip.

Written by the indexing model from the issue text.

Description

After following the steps mentioned in here and installing the new generated xblock, the following deprecation warning appears:

  DEPRECATION: Legacy editable install of myxblock-xblock==0.1 from file:///tmp/xblock_development/myxblock (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457

Dominant language
JavaScript
Stars
69
Forks
104
Avg merge
22h 11m
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openedx/xblock-sdk

All issues in openedx/xblock-sdk

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.