openedx / openedx/xblock-sdk

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

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
70
Forks
104
Avg merge
17h 46m
Merged PRs (30d)
14

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

Contributor guide

Open the contributing guide

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.