Comments (2)
Original comment from @timmc-edx:
Robert and I discussed an alternative to the wget/sed approach today:
- Specify constraints like
django==4.0.8 # common-constraints=override
inconstraints.txt
β this comment will indicate that this package should not be constrained by common-constraints. make compile-requirements
fetches a Python script from edx-lint and executes it.- The script pulls down a copy of
common-constraints.txt
and reduces it to only the constraints that donβt have the override annotation. constraints.txt
continues to include-c common-constraints.txt
but can also have a comment describing how to put an override in place.
Effects:
- A developer looking at or modifying the constraints file would know the current status of any overrides (good locality)
- Only one repo (edx-lint) would need to be modified when we want to change our process, as the script would be downloaded each time
from edx-lint.
The following is related to common-constraints.txt
, but may be an entirely separate question:
In #349 (review), a common constraint was removed once the openedx org was ready, but the edx org repos were not necessarily ready. The question is whether or not we need a capability for adding org specific common-constraints?
from edx-lint.
Related Issues (20)
- Setup Travis HOT 4
- Use ranges for dependencies
- Add tox support HOT 1
- Fix test_pylintrc_file_created HOT 1
- Chained comparisons cause incorrect warnings
- Layered test checker doesn't diagnose three-layer cakes
- Add support for latest versions of packages HOT 3
- Find incorrect context managers
- Suggestion: warn on use of sys.exit
- DeprecationWarning: invalid escape sequence \c in test/plugins/pylint_test.py HOT 3
- edx_lint command no longer installed HOT 4
- Suggestion: Bump edx-lint major version when upgrading to stricter pylint HOT 1
- Remove pylint<2.15.0 constraint HOT 1
- Unpin tox HOT 2
- Remove Sphinx Common Constraint HOT 1
- Remove platformdirs global constraint
- Errors in Python 3.12
- Upgrade Django constraint to <5
- Unpin importlib-metadata
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edx-lint.