profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/sliverc/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

Bouke/docx-mailmerge 240

Mail merge for Office Open XML (docx) files without the need for Microsoft Office Word.

cleitet/wpkg-gp 25

Running WPKG as a Group Policy Extension

sliverc/diodon 1

Aiming to be the best integrated clipboard manager for the Gnome/Unity desktop

sliverc/django-rest-framework-json-api 1

Implements most of the JSON API 1.0 spec.

sliverc/2119 0

RFC 2119 translations

sliverc/aptly 0

aptly - Debian repository management tool

sliverc/aptly-dev.github.io 0

documentation website for aptly

sliverc/black 0

The uncompromising Python code formatter

sliverc/caluma 0

Caluma Service providing GraphQL API

PR opened django-json-api/django-rest-framework-json-api

Reviewers
Use consistent naming for Django REST framework

Description of the Change

This follows the naming DRF uses in its own documentation.

Checklist

  • [x] PR only contains one change (considered splitting up PR)
  • [ ] unit-test added
  • [x] documentation updated
  • [ ] CHANGELOG.md updated (only for user relevant changes)
  • [x] author name in AUTHORS
+39 -39

0 comment

8 changed files

pr created time in 9 hours

create barnchsliverc/django-rest-framework-json-api

branch : drf_naming

created branch time in 9 hours

pull request commentdjango-json-api/django-rest-framework-json-api

clean python 2 codes

A couple of greps reveals that there a few more occurrences to clean up (I have run those on master):

$ git grep "super(" | grep -v "super()"
docs/usage.md:        queryset = super(LineItemViewSet, self).get_queryset()
example/api/resources/identity.py:        return super(Identity, self).retrieve(request, args, kwargs)
example/serializers.py:        super(EntrySerializer, self).__init__(*args, **kwargs)
example/serializers.py:        obj = super(CurrentProjectRelatedField, self).get_attribute(instance)
example/tests/__init__.py:        super(TestBase, self).setUp()
example/tests/test_format_keys.py:        super(FormatKeysSetTests, self).setUp()
example/tests/test_generic_validation.py:        super(GenericValidationTest, self).setUp()
example/tests/test_model_viewsets.py:        super(ModelViewSetTests, self).setUp()
example/tests/test_serializers.py:            return super(ArtProjectSerializer, child_self).__init__(
example/tests/unit/test_filter_schema_params.py:        super(DummyEntryViewSet, self).__init__(**kwargs)
example/tests/unit/test_renderer_class_methods.py:            return super(CustomRenderer, cls).extract_attributes(fields, resource)
example/tests/unit/test_renderer_class_methods.py:            return super(CustomRenderer, cls).extract_relationships(
example/views.py:        return super(BlogViewSet, self).get_object()
example/views.py:        return super(DRFBlogViewSet, self).get_object()
example/views.py:        response = super(JsonApiViewSet, self).handle_exception(exc)
example/views.py:        return super(EntryViewSet, self).get_object()
example/views.py:        return super(DRFEntryViewSet, self).get_object()
example/views.py:        return super(CommentViewSet, self).get_queryset()
rest_framework_json_api/django_filters/backends.py:        result = super(DjangoFilterBackend, self).get_schema_operation_parameters(view)
rest_framework_json_api/filters.py:        return super(OrderingFilter, self).remove_invalid_fields(
rest_framework_json_api/parsers.py:        result = super(JSONParser, self).parse(
rest_framework_json_api/relations.py:        return super(ResourceRelatedField, self).to_internal_value(data["id"])
rest_framework_json_api/renderers.py:        context = super(BrowsableAPIRenderer, self).get_context(
rest_framework_json_api/serializers.py:        fields = super(ModelSerializer, self).get_field_names(declared, info)
$ git grep "object()"
example/tests/test_serializers.py:class TestModelSerializer(object):
$ git grep "coding: utf-8"
docs/conf.py:# -*- coding: utf-8 -*-
example/factories.py:# -*- encoding: utf-8 -*-
example/migrations/0001_initial.py:# -*- coding: utf-8 -*-
example/migrations/0002_taggeditem.py:# -*- coding: utf-8 -*-
example/migrations/0003_polymorphics.py:# -*- coding: utf-8 -*-
example/migrations/0004_auto_20171011_0631.py:# -*- coding: utf-8 -*-
example/models.py:# -*- encoding: utf-8 -*-
example/tests/snapshots/snap_test_errors.py:# -*- coding: utf-8 -*-
example/tests/snapshots/snap_test_openapi.py:# -*- coding: utf-8 -*-
rest_framework_json_api/__init__.py:# -*- coding: utf-8 -*-
auvipy

comment created time in 2 days

pull request commentdjango-json-api/django-rest-framework-json-api

clean python 2 codes

@auvipy Thanks for this other cleanup up. As this is the second of these PRs do you think you caught all the Python 2 left over now? Maybe good to quickly go through all the code. I just want to avoid plenty of the same kind of commits if at all possible.

auvipy

comment created time in 3 days

issue commentdjango-json-api/django-rest-framework-json-api

Convert all tests to pytest

there is actually a long way till this issue is closed. Goal is that all tests in example/tests will be converted to pytest style and moved to tests folder. Do not have much time at hand but will continue to work on this step by step. Assigned it to me so this is clear.

sliverc

comment created time in 4 days

PR opened django-json-api/django-rest-framework-json-api

Add missing tests folder to MAINIFEST.in

Description of the Change

This was missed when introducing new tests folder. Removed obsolete exclude of pyc and pyo as there is already a global exclude with those extensions.

Checklist

  • [x] PR only contains one change (considered splitting up PR)
  • [ ] unit-test added
  • [ ] documentation updated
  • [ ] CHANGELOG.md updated (only for user relevant changes)
  • [x] author name in AUTHORS
+1 -1

0 comment

1 changed file

pr created time in 4 days

create barnchsliverc/django-rest-framework-json-api

branch : missing_tests

created branch time in 4 days

startedpypa/setuptools_scm

started time in 4 days

push eventdjango-json-api/django-rest-framework-json-api

Asif Saif Uddin

commit sha e1feedc60ae2ed2c0b71c51227f30ba55d1c9dbe

Clean up python2 related code crafts (#974)

view details

push time in 7 days

PR merged django-json-api/django-rest-framework-json-api

Clean up python2 related code crafts

Fixes #

Description of the Change

Checklist

  • [x] PR only contains one change (considered splitting up PR)
  • [ ] unit-test added
  • [ ] documentation updated
  • [ ] CHANGELOG.md updated (only for user relevant changes)
  • [x] author name in AUTHORS
+27 -36

3 comments

6 changed files

auvipy

pr closed time in 7 days

PullRequestReviewEvent
PullRequestReviewEvent

push eventdjango-json-api/django-rest-framework-json-api

pyup-bot

commit sha 501fb96eaefabc02f7e2d93278e5fe2dc57cb241

Update pytest from 6.2.4 to 6.2.5

view details

push time in 11 days

push eventdjango-json-api/django-rest-framework-json-api

pyup-bot

commit sha 92bc827559bba938832c1a69ec8c81694743253c

Update faker from 8.11.0 to 8.12.1

view details

push time in 11 days

push eventdjango-json-api/django-rest-framework-json-api

pyup-bot

commit sha 6219b15e8260b6f9c1d8562266998825d31c6c47

Update black from 21.7b0 to 21.8b0

view details

push time in 11 days

issue closeddjango-json-api/django-rest-framework-json-api

[Question] Installing django-filter with Poetry

I see in the readme we're told to install django-filter with the following command:

pip install djangorestframework-jsonapi['django-filter']

I am using Poetry and this command doesn't work. Can I just use the following instead?

poetry add django-filter

closed time in 14 days

davidvalaz

startedWordPress/two-factor

started time in 17 days

delete branch django-json-api/django-rest-framework-json-api

delete branch : pyup-scheduled-update-2021-08-16

delete time in a month

push eventdjango-json-api/django-rest-framework-json-api

pyup.io bot

commit sha 50841f704f9b7063f21f027f815010df7161e50d

Scheduled biweekly dependency update for week 33 (#970) * Update black from 21.5b2 to 21.7b0 * Update isort from 5.8.0 to 5.9.3 * Update sphinx from 4.0.2 to 4.1.2 * Update twine from 3.4.1 to 3.4.2 * Update django-debug-toolbar from 3.2.1 to 3.2.2 * Update faker from 8.5.1 to 8.11.0

view details

push time in a month

PR merged django-json-api/django-rest-framework-json-api

Scheduled biweekly dependency update for week 33

Update black from 21.5b2 to 21.7b0.

<details> <summary>Changelog</summary>

21.7b0

_Black_

- Configuration files using TOML features higher than spec v0.5.0 are now supported
(2301)
- Add primer support and test for code piped into black via STDIN (2315)
- Fix internal error when `FORCE_OPTIONAL_PARENTHESES` feature is enabled (2332)
- Accept empty stdin (2346)
- Provide a more useful error when parsing fails during AST safety checks (2304)

Docker

- Add new `latest_release` tag automation to follow latest black release on docker
images (2374)

Integrations

- The vim plugin now searches upwards from the directory containing the current buffer
instead of the current working directory for pyproject.toml. (1871)
- The vim plugin now reads the correct string normalization option in pyproject.toml
(1869)
- The vim plugin no longer crashes Black when there&#39;s boolean values in pyproject.toml
(1869)

21.6b0

_Black_

- Fix failure caused by `fmt: skip` and indentation (2281)
- Account for += assignment when deciding whether to split string (2312)
- Correct max string length calculation when there are string operators (2292)
- Fixed option usage when using the `--code` flag (2259)
- Do not call `uvloop.install()` when _Black_ is used as a library (2303)
- Added `--required-version` option to require a specific version to be running (2300)
- Fix incorrect custom breakpoint indices when string group contains fake f-strings
(2311)
- Fix regression where `R` prefixes would be lowercased for docstrings (2285)
- Fix handling of named escapes (`\N{...}`) when `--experimental-string-processing` is
used (2319)

Integrations

- The official Black action now supports choosing what version to use, and supports the
major 3 OSes. (1940)

</details>

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/black
  • Changelog: https://pyup.io/changelogs/black/
  • Repo: https://github.com/psf/black </details>

Update isort from 5.8.0 to 5.9.3.

<details> <summary>Changelog</summary>

5.9.3

- Improved text of skipped file message to mention gitignore feature.
- Made all exceptions pickleable.
- Fixed 1779: Pylama integration ignores pylama specific isort config overrides.
- Fixed 1781: `--from-first` CLI flag shouldn&#39;t take any arguments.
- Fixed 1792: Sorting literals sometimes ignored when placed on first few lines of file.
- Fixed 1777: extend_skip is not honored wit a git submodule when skip_gitignore=true.

5.9.2

- Improved behavior of `isort --check --atomic` against Cython files.
- Fixed 1769: Future imports added below assignments when no other imports present.
- Fixed 1772: skip-gitignore will check files not in the git repository.
- Fixed 1762: in some cases when skip-gitignore is set, isort fails to skip any files.
- Fixed 1767: Encoding issues surfacing when invalid characters set in `__init__.py` files during placement.
- Fixed 1771: Improved handling of skips against named streamed in content.

5.9.1

- Fixed 1758: projects with many files and skip_ignore set can lead to a command-line overload.

5.9.0

- Improved CLI startup time.
- Implemented 1697: Provisional support for PEP 582: skip `__pypackages__` directories by default.
- Implemented 1705: More intuitive handling of isort:skip_file comments on streams.
- Implemented 1737: Support for using action comments to avoid adding imports to individual files.
- Implemented 1750: Ability to customize output format lines.
- Implemented 1732: Support for custom sort functions.
- Implemented 1722: Improved behavior for running isort in atomic mode over Cython source files.
- Fixed (https://github.com/PyCQA/isort/pull/1695): added imports being added to doc string in some cases.
- Fixed (https://github.com/PyCQA/isort/pull/1714): in rare cases line continuation combined with tabs can output invalid code.
- Fixed (https://github.com/PyCQA/isort/pull/1726): isort ignores reverse_sort when force_sort_within_sections is true.
- Fixed 1741: comments in hanging indent modes can lead to invalid code.
- Fixed 1744: repeat noqa comments dropped when * import and non * imports exist from the same package.
- Fixed 1721: repeat noqa comments on separate from lines with force-single-line set, sometimes get dropped.

Goal Zero (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan):
- Implemented 1394: 100% branch coverage (in addition to line coverage) enforced.
- Implemented 1751: Strict typing enforcement (turned on mypy strict mode).

</details>

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/isort
  • Changelog: https://pyup.io/changelogs/isort/
  • Repo: https://pycqa.github.io/isort/ </details>

Update Sphinx from 4.0.2 to 4.1.2.

<details> <summary>Changelog</summary>

4.1.2

=====================================

Incompatible changes
--------------------

* 9435: linkcheck: Disable checking automatically generated anchors on
github.com (ex. anchors in reST/Markdown documents)

Bugs fixed
----------

* 9489: autodoc: Custom types using ``typing.NewType`` are not displayed well
with the HEAD of 3.10
* 9490: autodoc: Some objects under ``typing`` module are not displayed well
with the HEAD of 3.10
* 9436, 9471: autodoc: crashed if ``autodoc_class_signature = &quot;separated&quot;``
* 9456: html search: html_copy_source can&#39;t control the search summaries
* 9435: linkcheck: Failed to check anchors in github.com

4.1.1

=====================================

Dependencies
------------

* 9434: sphinxcontrib-htmlhelp-2.0.0 or above
* 9434: sphinxcontrib-serializinghtml-1.1.5 or above

Bugs fixed
----------

* 9438: html: HTML logo or Favicon specified as file not being found on output

4.1.0

=====================================

Dependencies
------------

* Support jinja2-3.0

Deprecated
----------

* The ``app`` argument of ``sphinx.environment.BuildEnvironment`` becomes
required
* ``sphinx.application.Sphinx.html_theme``
* ``sphinx.ext.autosummary._app``
* ``sphinx.util.docstrings.extract_metadata()``

Features added
--------------

* 8107: autodoc: Add ``class-doc-from`` option to :rst:dir:`autoclass`
directive to control the content of the specific class like
:confval:`autoclass_content`
* 8588: autodoc: :confval:`autodoc_type_aliases` now supports dotted name. It
allows you to define an alias for a class with module name like
``foo.bar.BazClass``
* 9175: autodoc: Special member is not documented in the module
* 9195: autodoc: The arguments of ``typing.Literal`` are wrongly rendered
* 9185: autodoc: :confval:`autodoc_typehints` allows ``&#39;both&#39;`` setting to
allow typehints to be included both in the signature and description
* 4257: autodoc: Add :confval:`autodoc_class_signature` to separate the class
entry and the definition of ``__init__()`` method
* 8061, 9218: autodoc: Support variable comment for alias classes
* 3014: autodoc: Add :event:`autodoc-process-bases` to modify the base classes
of the class definitions
* 9272: autodoc: Render enum values for the default argument value better
* 9384: autodoc: ``autodoc_typehints=&#39;none&#39;`` now erases typehints for
variables, attributes and properties
* 3257: autosummary: Support instance attributes for classes
* 9358: html: Add &quot;heading&quot; role to the toctree items
* 9225: html: Add span tag to the return typehint of method/function
* 9129: html search: Show search summaries when html_copy_source = False
* 9307: html search: Prevent corrections and completions in search field
* 9120: html theme: Eliminate prompt characters of code-block from copyable
text
* 9176: i18n: Emit a debug message if message catalog file not found under
:confval:`locale_dirs`
* 9414: LaTeX: Add xeCJKVerbAddon to default fvset config for Chinese documents
* 9016: linkcheck: Support checking anchors on github.com
* 9016: linkcheck: Add a new event :event:`linkcheck-process-uri` to modify
URIs before checking hyperlinks
* 6525: linkcheck: Add :confval:`linkcheck_allowed_redirects` to mark
hyperlinks that are redirected to expected URLs as &quot;working&quot;
* 1874: py domain: Support union types using ``|`` in info-field-list
* 9268: py domain: :confval:`python_use_unqualified_type_names` supports type
field in info-field-list
* 9097: Optimize the parallel build
* 9131: Add :confval:`nitpick_ignore_regex` to ignore nitpicky warnings using
regular expressions
* 9174: Add ``Sphinx.set_html_assets_policy`` to tell extensions to include
HTML assets in all the pages. Extensions can check this via
``Sphinx.registry.html_assets_policy``
* C++, add support for

- ``inline`` variables,
- ``consteval`` functions,
- ``constinit`` variables,
- ``char8_t``,
- ``explicit(&lt;constant expression&gt;)`` specifier,
- digit separators in literals, and
- constraints in placeholder type specifiers, aka. adjective syntax
 (e.g., ``Sortable auto &amp;v``).

* C, add support for digit separators in literals.
* 9166: LaTeX: support containers in LaTeX output


Bugs fixed
----------

* 8872: autodoc: stacked singledispatches are wrongly rendered
* 8597: autodoc: a docsting having metadata only should be treated as
undocumented
* 9185: autodoc: typehints for overloaded functions and methods are inaccurate
* 9250: autodoc: The inherited method not having docstring is wrongly parsed
* 9283: autodoc: autoattribute directive failed to generate document for an
attribute not having any comment
* 9364: autodoc: single element tuple on the default argument value is wrongly
rendered
* 9362: autodoc: AttributeError is raised on processing a subclass of Tuple[()]
* 9404: autodoc: TypeError is raised on processing dict-like object (not a
class) via autoclass directive
* 9317: html: Pushing left key causes visiting the next page at the first page
* 9381: html: URL for html_favicon and html_log does not work
* 9270: html theme : pyramid theme generates incorrect logo links
* 9217: manpage: The name of manpage directory that is generated by
:confval:`man_make_section_directory` is not correct
* 9350: manpage: Fix font isn&#39;t reset after keyword at the top of samp role
* 9306: Linkcheck reports broken link when remote server closes the connection
on HEAD request
* 9280: py domain: &quot;exceptions&quot; module is not displayed
* 9418: py domain: a Callable annotation with no parameters
(e.g. ``Callable[[], None])`` will be rendered with a bracket missing
(``Callable[], None]``)
* 9319: quickstart: Make sphinx-quickstart exit when conf.py already exists
* 9387: xml: XML Builder ignores custom visitors
* 9224: ``:param:`` and ``:type:`` fields does not support a type containing
whitespace (ex. ``Dict[str, str]``)
* 8945: when transforming typed fields, call the specified role instead of
making an single xref. For C and C++, use the ``expr`` role for typed fields.

4.0.3

=====================================

Features added
--------------

* C, add C23 keywords ``_Decimal32``, ``_Decimal64``, and ``_Decimal128``.
* 9354: C, add :confval:`c_extra_keywords` to allow user-defined keywords
during parsing.
* Revert the removal of ``sphinx.util:force_decode()`` to become some 3rd party
extensions available again during 5.0

Bugs fixed
----------

* 9330: changeset domain: :rst:dir:`versionchanged` with contents being a list
will cause error during pdf build
* 9313: LaTeX: complex table with merged cells broken since 4.0
* 9305: LaTeX: backslash may cause Improper discretionary list pdf build error
with Japanese engines
* 9354: C, remove special macro names from the keyword list.
See also :confval:`c_extra_keywords`.
* 9322: KeyError is raised on PropagateDescDomain transform

</details>

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/sphinx
  • Changelog: https://pyup.io/changelogs/sphinx/
  • Homepage: https://sphinx-doc.org/ </details>

Update twine from 3.4.1 to 3.4.2.

The bot wasn't able to find a changelog for this release. Got an idea?

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/twine
  • Docs: https://twine.readthedocs.io/ </details>

Update django-debug-toolbar from 3.2.1 to 3.2.2.

<details> <summary>Changelog</summary>

3.2.2

------------------

* Ensured that the handle stays within bounds when resizing the window.
* Disabled ``HistoryPanel`` when ``RENDER_PANELS`` is ``True``
or if ``RENDER_PANELS`` is ``None`` and the WSGI container is
running with multiple processes.
* Fixed ``RENDER_PANELS`` functionality so that when ``True`` panels are
rendered during the request and not loaded asynchronously.
* HistoryPanel now shows status codes of responses.
* Support ``request.urlconf`` override when checking for toolbar requests.

</details>

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/django-debug-toolbar
  • Changelog: https://pyup.io/changelogs/django-debug-toolbar/
  • Repo: https://github.com/jazzband/django-debug-toolbar </details>

Update Faker from 8.5.1 to 8.11.0.

<details> <summary>Changelog</summary>

8.11.0

*  Add ``nic_handle``. Thanks pishchalnikov.

8.10.3

* Remove potentially offensive surname in ``it_IT``. Thanks lordgordon.

8.10.2

* Return list instead of tuple in ``choices_distribution``. Thanks svisser.

8.10.1

* enable faker instances to be unpickled (1480). Thanks fcurella.

8.10.0

* Add ``ar_AE`` (UAE) phone numbers. Thanks sshishov.

8.9.1

* Skip UnsupportedFeature&#39;s on the command line. Thanks therefromhere.

8.9.0

* Add RIPE ID. Thanks pishchalnikov.

8.8.2

* Avoid collision for ``date`` in ``datetime`` provider. Thanks mattshin.

8.8.1

* Fix ``left_digits`` ignored if ``min_value`` is given. Thanks OJFord.q

8.8.0

* Add ``iana_id``, IANA Registrar ID. Thanks pishchalnikov.

8.7.0

* Add tlds for ``th_TH`` internet provider. Thanks bact.

8.6.0

*  Add ``aba()`` method to generate ABA routing numbers. Thanks mstellon.

</details>

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/faker
  • Changelog: https://pyup.io/changelogs/faker/
  • Repo: https://github.com/joke2k/faker </details>
+6 -6

1 comment

4 changed files

pyup-bot

pr closed time in a month

PullRequestReviewEvent

delete branch django-json-api/django-rest-framework-json-api

delete branch : pyup-scheduled-update-2021-08-02

delete time in a month

push eventdjango-json-api/django-rest-framework-json-api

pyup-bot

commit sha 2c170cb981087160033cd38bfe5ec75d445405cf

Update twine from 3.4.1 to 3.4.2

view details

push time in a month

push eventdjango-json-api/django-rest-framework-json-api

pyup-bot

commit sha ca429b8b9566a55c6d6a524c5d4a4c01d5e91253

Update django-debug-toolbar from 3.2.1 to 3.2.2

view details

push time in a month

push eventdjango-json-api/django-rest-framework-json-api

pyup-bot

commit sha 8ec7cbca293757e2fe6c872cc1f39b044680409d

Update faker from 8.5.1 to 8.11.0

view details

push time in a month

push eventdjango-json-api/django-rest-framework-json-api

pyup-bot

commit sha 3e9f8da74206f6c0bc756583a32882e718424370

Update sphinx from 4.0.2 to 4.1.2

view details

push time in a month

push eventdjango-json-api/django-rest-framework-json-api

pyup-bot

commit sha 9fbfc883de6b75c024537c0babb83c6ac0669d19

Update isort from 5.8.0 to 5.9.3

view details

push time in a month

push eventdjango-json-api/django-rest-framework-json-api

pyup-bot

commit sha 2f216d675609e0f27ab5b18a0d82e2f262c9b8ba

Update black from 21.5b2 to 21.7b0

view details

push time in a month