profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/hramezani/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.
Hasan Ramezani hramezani @crate Berlin http://stackoverflow.com/users/3465428/hasan-ramezani Backend Developer, @django Core contributor

hramezani/django-jalali 2

Jalali DateField support for Django model

hramezani/crate_assessment_task 1

Crate Assessment Task Backend Developer

hramezani/django 1

The Web framework for perfectionists with deadlines.

hramezani/Activiti 0

Activiti is a light-weight workflow and Business Process Management (BPM) Platform targeted at business people, developers and system admins. Its core is a super-fast and rock-solid BPMN 2 process engine for Java. It's open-source and distributed under the Apache license. Activiti runs in any Java application, on a server, on a cluster or in the cloud. It integrates perfectly with Spring, it is extremely lightweight and based on simple concepts.

hramezani/awesome-wm-widgets 0

Widgets for Awesome Window Manager

hramezani/bedrock 0

Making mozilla.org awesome, one pebble at a time

hramezani/black 0

The uncompromising Python code formatter

hramezani/broadcaster 0

Broadcast channels for async web apps. 📢

hramezani/cal-events 0

calendar event database for persian calendar

Pull request review commentcrate/crate

Update Lucene to 8.9.0

 protected DirectoryReader open(final IndexCommit commit) throws IOException {         final Directory directory = commit.getDirectory();         final List<IndexCommit> indexCommits = DirectoryReader.listCommits(directory);         final IndexCommit indexCommit = indexCommits.get(indexCommits.size() - 1);-        return new DirectoryReader(directory, new LeafReader[0]) {+        return new DirectoryReader(directory, new LeafReader[0], null) {

See https://github.com/elastic/elasticsearch/blob/master/server/src/main/java/org/elasticsearch/index/engine/NoOpEngine.java#L65

mkleen

comment created time in 9 minutes

PR opened crate/crate

Update Lucene to 8.9.0

https://lucene.apache.org/core/8_9_0/changes/Changes.html

Summary of the changes / Why this improves CrateDB

Checklist

  • [ ] Added an entry in CHANGES.txt for user facing changes
  • [ ] Updated documentation & sql_features table for user facing changes
  • [ ] Touched code is covered by tests
  • [ ] CLA is signed
  • [ ] This does not contain breaking changes, or if it does:
    • It is released within a major release
    • It is recorded in CHANGES.txt
    • It was marked as deprecated in an earlier release if possible
    • You've thought about the consequences and other components are adapted (E.g. AdminUI)
+3 -3

0 comment

3 changed files

pr created time in 10 minutes

create barnchcrate/crate

branch : mkleen/lucene_upgrade

created branch time in 10 minutes

pull request commentjazzband/pip-tools

Add release drafter github action

@jezdez Added that change. Please do not forget to approve it. As long you appear with "requested changes" we will not be able to merge the change, regardless other approvals.

ssbarnea

comment created time in 38 minutes

push eventjazzband/pip-tools

Sviatoslav Sydorenko

commit sha d8ac360a3a0020499f340a9cd8af64efcd9b9396

Add PyPy jobs to PR CI runs (#1379) * Add PyPy jobs to PR CI runs * Mark known broken tests with xfail Related: #1375 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Use PyPy3.7 instead of 3.6 in CI * Fix PyPy 3.7 declaration syntax Co-authored-by: Sorin Sbarnea <ssbarnea@redhat.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

view details

Sorin Sbarnea

commit sha 8a70d7617e8e64fdcd7f790e0c68fb149c23a6f8

Merge branch 'master' into release-6.2.0

view details

push time in an hour

delete branch jazzband/pip-tools

delete branch : maintenance/gha-pypy

delete time in an hour

push eventjazzband/pip-tools

Sviatoslav Sydorenko

commit sha d8ac360a3a0020499f340a9cd8af64efcd9b9396

Add PyPy jobs to PR CI runs (#1379) * Add PyPy jobs to PR CI runs * Mark known broken tests with xfail Related: #1375 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Use PyPy3.7 instead of 3.6 in CI * Fix PyPy 3.7 declaration syntax Co-authored-by: Sorin Sbarnea <ssbarnea@redhat.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

view details

push time in an hour

PR merged jazzband/pip-tools

Add PyPy jobs to PR CI runs ci maintenance

Ref https://github.com/jazzband/pip-tools/issues/1375#issuecomment-813212856

Changelog-friendly one-liner: Added PyPy jobs to PR builds

Contributor checklist
  • [ ] Provided the tests for the changes.
  • [x] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
  • [ ] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).
+37 -0

2 comments

2 changed files

webknjaz

pr closed time in an hour

push eventjazzband/pip-tools

Albert Tugushev

commit sha 295ba865d8d9bcf6bf84fe31bc07bc6c0cf2532b

Add --emit-options/--no-emit-options flag (#1123) * Add --emit-options/--no-emit-options flag * Use parametrization

view details

Sorin Sbarnea

commit sha 2711780ee811413e41b30ba4e835b6a7081cf8c5

Merge branch 'master' into maintenance/gha-pypy

view details

push time in 2 hours

push eventjazzband/pip-tools

Albert Tugushev

commit sha 295ba865d8d9bcf6bf84fe31bc07bc6c0cf2532b

Add --emit-options/--no-emit-options flag (#1123) * Add --emit-options/--no-emit-options flag * Use parametrization

view details

Sorin Sbarnea

commit sha 0ccfc8e666fac588d2a37028d3adc9faf123dc2f

Merge branch 'master' into release-6.2.0

view details

push time in 2 hours

push eventjazzband/pip-tools

Sorin Sbarnea

commit sha 1c1f264bcfa0c37e90f90b1379aac8e1d5cb3b49

Update .github/workflows/release-drafter.yml Co-authored-by: Jannis Leidel <jannis@leidel.info>

view details

push time in 2 hours

push eventjazzband/pip-tools

Albert Tugushev

commit sha 295ba865d8d9bcf6bf84fe31bc07bc6c0cf2532b

Add --emit-options/--no-emit-options flag (#1123) * Add --emit-options/--no-emit-options flag * Use parametrization

view details

push time in 2 hours

PR merged jazzband/pip-tools

Reviewers
Add --emit-options/--no-emit-options flag cli enhancement

Description

A switcher to turn off all options in the compile output.

Rationale

  1. It might be helpful for users who have pip.conf and don't want to pass any options to the compile output. Yes, they can switch off some of the options with --no-emit-trusted-hosts and --no-emit-find-links, but there is no option to turn them all off.

  2. Also, it's pretty useful for the tests to check the exact resolver output. For example, instead of:

out = invoke(cli)
assert "small-fake-a==0.1" in out.stderr

check the complete result and make sure that there are no side dependencies

out = invoke(cli, ["--no-annotate", "--no-emit-options"])
assert out.stderr.splitlines() == ["small-fake-a==0.1"]

Changelog-friendly one-liner: Add --emit-options/--no-emit-options flag to pip-compile.

Contributor checklist
  • [X] Provided the tests for the changes.
  • [X] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
  • [x] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).
+46 -0

2 comments

4 changed files

atugushev

pr closed time in 2 hours

startedsnowpackjs/astro

started time in 4 hours

startedai/nanostores

started time in 5 hours

startedcutecharts/cutecharts.py

started time in 5 hours

startederikmartinjordan/jsonmatic

started time in 5 hours

push eventurllib3/urllib3

Seth Michael Larson

commit sha 50f763e4d665356d9cfc70b759e60bc1fd0bfb92

Remove CONTRIBUTORS.txt

view details

push time in 10 hours

delete branch urllib3/urllib3

delete branch : remove-contributors-txt

delete time in 10 hours

PR merged urllib3/urllib3

Remove CONTRIBUTORS.txt

This file started before the project was on GitHub as a way to show off all contributors. However it has grown to be more of a burden on Pull Requests. Specifically merge conflicts which are a barrier for new contributors especially.

Another downside is that the list usually only contains the very first contribution you make but none of your later contributions. The information contained is also likely to be out of date, for example if someone changes their name or their email address.

Instead we should use https://github.com/urllib3/urllib3/graphs/contributors for listing contributors as everything is both up-to-date and automated. Win-win!

Unfortunately that means we need to remove this file though. Always sad to see a file that's 11 years old go away but it's for the best. :wave:

+1 -330

1 comment

3 changed files

sethmlarson

pr closed time in 10 hours

push eventurllib3/urllib3

Seth Michael Larson

commit sha 1cbafade529744a6cc04f78925ac2babf07bfcb1

Remove CONTRIBUTORS.txt

view details

push time in 10 hours

pull request commenturllib3/urllib3

Remove CONTRIBUTORS.txt

Codecov Report

Merging #2280 (ab829b1) into main (32bb959) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main     #2280   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           25        25           
  Lines         2439      2439           
=========================================
  Hits          2439      2439           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 32bb959...ab829b1. Read the comment docs.

sethmlarson

comment created time in 10 hours

PR opened urllib3/urllib3

Remove CONTRIBUTORS.txt

This file started before the project was on GitHub as a way to show off all contributors. However it has grown to be more of a burden on Pull Requests. Specifically merge conflicts which are a barrier for new contributors especially.

Another downside is that the list usually only contains the very first contribution but no other contributions. The information contained is also likely to be out of date, for example if someone changes their name or their email address.

Instead I propose we use https://github.com/urllib3/urllib3/graphs/contributors for listing contributors as everything is both up-to-date and automated. Win-win!

Unfortunately that means we need to remove this file though. Always sad to see a file that's 11 years old go away but it's for the best. :wave:

+0 -329

0 comment

2 changed files

pr created time in 10 hours

push eventurllib3/urllib3

Seth Michael Larson

commit sha 2ec06d1185f1642dfe8ff767a9ad3541bd0ddc39

Fix ssl deprecation warnings in Python 3.10

view details

David Lord

commit sha 8e8272efda077c5a9f464259bf2a71bb8ec393ad

Align multipart parameter encoding with current WHATWG HTML standard

view details

Hugo van Kemenade

commit sha 6ec92dd4480a49af490e5b45ec35eee745dbce4c

Advertise Python 3.10 support in setup.py classifiers

view details

Hasan Ramezani

commit sha e4f4e50e642e1a6fa6388c045829106a199d6944

Add type hints to urllib3/__init__.py

view details

Hasan Ramezani

commit sha 00d4acb8f880a1246149e470fff019bb610be4c6

Install idna in mypy nox session

view details

ubdussamad

commit sha ddf7361ac0467431a2f3df6ba346c9c506c29d56

Added `preload_content`, `retries`, `redirect` and `timeout` arguments to urllib3.request()

view details

Hasan Ramezani

commit sha 186e7f91c058d8a04e3b894d5580001e09666ee3

Tolerate the strict parameter being passed via connection_from_context()

view details

Ran Benita

commit sha 3bb4dea5de71a298e5b9d933b7dcb5af13512f08

Remove unused `port` argument from dummyserver SocketServerThread Actually a dynamic port is used and the argument is ignored.

view details

Hasan Ramezani

commit sha aba95821264ee89a6c0df3f608500e881e458441

Remove typing-extensions from dev-requirements.txt

view details

ubdussamad

commit sha 8261676428ca449ee671c28955944cefbe9fd9d3

Use top-level urllib3.request() function more in docs

view details

Hasan Ramezani

commit sha c2fd715aed78325c2062ccc523e62c62121bca87

Add type hints to urllib3.contrib.socks

view details

Ran Benita

commit sha cdc0fcfac27fc4b1a2e8a8f692dbb19c94ce3b80

Remove python2 compat stuff from test_socketlevel.py (#2276) * Reformat imports in test_socketlevel.py Make the next commit more understandable. * Remove python2 compat stuff from test_socketlevel.py

view details

Ran Benita

commit sha 7dee3d98004710b88faa0c96fc89ca424a505545

Add a test for using HTTPHeaderDict with PoolManager(headers) (#2274)

view details

Ran Benita

commit sha a04cb71b79c0b7d41f89ec89eab559abc6ca9282

Fix remove_headers_on_redirect feature modifying passed-in headers in-place (#2272) In general I'd say it's expected in Python that when passing a dict to to an argument like `headers` that it won't be modified in-place and could be reused safely for further requests. Previously the remove_headers_on_redirect feature didn't uphold this. Do a copy to make sure that it does. This commit additionally *avoids* an unneeded copy when the `remove_headers_on_redirect` code isn't reached.

view details

Hasan Ramezani

commit sha b0ef7fbd21a9481c6d7a7c516c7974d64142ee9c

Fix flaky DeprecationWarning tests

view details

Ran Benita

commit sha 195b24b1bc692fe95b03f871900e09f2ea19376d

Add cycle-breaking logic to create_connection() This commit synchronizes create_connection() with the implementation in the socket module

view details

Hasan Ramezani

commit sha 32bb959795a720294c397fefbc6589f229b9b1a8

Add type hints to urllib3.contrib.ntlmpool

view details

Seth Michael Larson

commit sha ab829b17dbdc7df5c9235d422ee21f644dc41e1f

Remove CONTRIBUTORS.txt

view details

push time in 11 hours

create barnchurllib3/urllib3

branch : remove-contributors-txt

created branch time in 13 hours

pull request commenturllib3/urllib3

Add a test for using HTTPHeaderDict with PoolManager(headers)

@bluetech This issue is related to this PR as well, basically it's HTTPHeaderDict all the way down so we can support duplicate headers without making it a comma.

bluetech

comment created time in 13 hours

Pull request review commenturllib3/urllib3

Improve JSON Support to request and response

 dictionary in the ``fields`` argument provided to JSON ~~~~ -You can send a JSON request by specifying the encoded data as the ``body``-argument and setting the ``Content-Type`` header when calling+You can send a JSON request by specifying the data as ``json`` argument,+urllib3 automatically encodes data using ``json`` module with ``utf-8`` 

Let's use "UTF-8" in prose instead of "utf-8"

V1NAY8

comment created time in 2 days

Pull request review commenturllib3/urllib3

Improve JSON Support to request and response

 def request(          urlopen_kw["request_url"] = url +        if json is not None and body is not None:+            raise TypeError(+                "request got values for both 'json' and 'body', can only specify one."

Wording for this error: "'body' and 'json' parameters are mutually exclusive"

V1NAY8

comment created time in 2 days

Pull request review commenturllib3/urllib3

Improve JSON Support to request and response

 def get_redirect_location(self) -> typing.Union[str, "Literal[False]"]:     def data(self) -> bytes:         raise NotImplementedError() +    def json(self) -> Any:+        """+        Returns Deserialized json.
"""
Parses the body of the HTTP response as UTF-8, UTF-16, or UTF-32 encoded JSON using the standard library :func:`json.loads` function.

To use a custom JSON decoder pass the result of :attr:`HTTPResponse.data` to the decoder.

Read more here: (URL to urllib3 documentation on JSON?)
"""
V1NAY8

comment created time in 2 days

Pull request review commenturllib3/urllib3

Improve JSON Support to request and response

 The :class:`~response.HTTPResponse` object provides JSON Content ~~~~~~~~~~~~ -JSON content can be loaded by decoding and deserializing the+JSON content can be loaded by using :attr:`~response.HTTPResponse.json`

This is a function not an attr?

V1NAY8

comment created time in 2 days