Comments (5)
Waiting for that release to migrate to django3.
from django-classy-tags.
we have just released classy tags 1.0.0 with Django 3 compatibility :)
from django-classy-tags.
@FinalAngel Thanks for the release!
However, the sdist still doesn't contain the tests, so this ticket is still valid. If you want I can do a pull request for MANIFEST.in to fix this.
from django-classy-tags.
@dvzrv sorry I overread this. The tests are currently not part of the package by intention (design decision by our team). It could be as easy as to remove: https://github.com/divio/django-classy-tags/blob/master/setup.py#L50
Though considering that we practice this on all our packages I'm hesitant on changing it only for this package...
from django-classy-tags.
@FinalAngel maybe there's a misunderstanding about the tests directory and which tarball I'm referring to.
To my understanding MANIFEST.in is used to (more specifically) define what goes into a source tarball (when using python setup.py sdist
).
The setup()
function on the other hand defines what will be installed to a target system, when packages have been built (python setup.py build
) from a source tarball (with find_packages(), include_package_data or package_data giving more finely grained access over what is included/excluded) and then installed (python setup.py install
).
While it is absolutely reasonable to exclude the tests from e.g. a wheel distributable (python setup.py bdist_wheel
), which happens automatically because of your above stated line in setup()
, it is not good to distribute the sdist without tests (because noone can test the sources after building from them when using the tarball from pypi.org).
from django-classy-tags.
Related Issues (20)
- Releasing a new version with Django 4.2 support
- ``utils.flatten_context`` lacks a test HOT 1
- 0.7.1 introduces error in flattening HOT 5
- Custom default values as input from templates HOT 15
- allow use MultiValueArgument and MultiKeywordArgument together without word_breakpoint HOT 6
- Document AsTag implementation details HOT 4
- Django>=2 support HOT 1
- Django 3 issues - six is no longer availiable in django.utils HOT 17
- Distribute newest version on PyPi for Django 3 compatibilty HOT 1
- 2.0.0 installs tests top-level HOT 1
- Next version bump for Django 3.2 support HOT 3
- test_integer_variable fails on Django 4.0
- 3.0.0: Tests not in sdist tarball on pypi.org HOT 4
- RTD maintenance HOT 1
- I probably should no longer have PyPI Access HOT 2
- `Tag` breaking in Django 4.1 when registering without the `name` kwarg HOT 4
- Bump CodeQL Action to V2 (by Dec 2022)
- The use of setup.py test is deprecated
- 3.0.1: 17 failing tests with TemplateSyntaxError HOT 4
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 django-classy-tags.