Re: [Python-Dev] New Contributor looking for help

2018-01-26 Thread Victor Stinner
This is https://bugs.python.org/issue32667 which I already fixed with Jay
Yin yesterday.

Victor

Le 26 janv. 2018 8:27 PM, "Jay Yin"  a écrit :

> Hello everyone,
>
>
> I've been trying to build the master branch on Ubuntu 16.04 and it
> currently fails 2 test, I was wondering if this was normal or if I'm
> missing dependencies, I also tried apt-get build-dev python3.6 and
> python3.7 to no avail, the build requirements install worked for python3.5
> but I suspect 3.7 has different dependencies but I can't find where the
> documentation for the requirements are.
> 2 tests failed:
> test_dtrace test_subprocess
>
>
> running test_dtrace as verbose gave https://pastebin.com/ZGzzxwjk
> 
> [Bash] FAILED (errors=4) test test_dtrace failed 1 test failed:
> test_dtrace R - Pastebin.com 
> pastebin.com
>
>
> and running test_subprocess gives
>
>
> https://pastebin.com/DNjPzpgp
> 
> [Bash] --- Modules/Setup.dist
> is newer tha - Pastebin.com 
> pastebin.com
>
>
>
> 
> ___
> [image: 1488460367159_signiture.jpg]
>
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
> victor.stinner%40gmail.com
>
>
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] New Contributor looking for help

2018-01-26 Thread Jay Yin
Hello everyone,


I've been trying to build the master branch on Ubuntu 16.04 and it currently 
fails 2 test, I was wondering if this was normal or if I'm missing 
dependencies, I also tried apt-get build-dev python3.6 and python3.7 to no 
avail, the build requirements install worked for python3.5 but I suspect 3.7 
has different dependencies but I can't find where the documentation for the 
requirements are.

2 tests failed:
test_dtrace test_subprocess


running test_dtrace as verbose gave https://pastebin.com/ZGzzxwjk

[https://pastebin.com/i/facebook.png]

[Bash] FAILED (errors=4) test test_dtrace failed 1 test failed: test_dtrace R - 
Pastebin.com
pastebin.com



and running test_subprocess gives


https://pastebin.com/DNjPzpgp

[https://pastebin.com/i/facebook.png]

[Bash] --- Modules/Setup.dist is 
newer tha - Pastebin.com
pastebin.com





___
[1488460367159_signiture.jpg]
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] GH-NNNN vs #NNNN in merge commit

2018-01-26 Thread Mariatta Wijaya
No problem :) It's been deployed.

Mariatta Wijaya

On Fri, Jan 26, 2018 at 9:48 AM, Eric V. Smith  wrote:
>
>
> It works for me: I think this is very helpful. Thanks for coding it up so
> quickly!
>
> Eric
>
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] GH-NNNN vs #NNNN in merge commit

2018-01-26 Thread Eric V. Smith

On 1/26/2018 12:22 PM, Mariatta Wijaya wrote:

I believe https://github.com/python/bedevere/pull/82
 will add a comment,
which will get emailed to everyone nosy on the PR.

Yes, and I've just updated my PR description:

If a PR was merged and the commit message was not changed from 
|#| to |GH-|, bedevere-bot will leave a comment to remind the 
core dev to update it next time.

For example:
```
@Mariatta: Please replace # with GH- in the commit message next time. 
Thanks!

```

Does that work for everyone?


It works for me: I think this is very helpful. Thanks for coding it up 
so quickly!


Eric
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] GH-NNNN vs #NNNN in merge commit

2018-01-26 Thread Mariatta Wijaya
>
> I believe https://github.com/python/bedevere/pull/82 will add a comment,
> which will get emailed to everyone nosy on the PR.

Yes, and I've just updated my PR description:

If a PR was merged and the commit message was not changed from # to
GH-, bedevere-bot will leave a comment to remind the core dev to update
it next time.
For example:
```
@Mariatta: Please replace # with GH- in the commit message next time.
Thanks!
```

Does that work for everyone?

Mariatta Wijaya
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Summary of Python tracker Issues

2018-01-26 Thread Python tracker

ACTIVITY SUMMARY (2018-01-19 - 2018-01-26)
Python tracker at https://bugs.python.org/

To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.

Issues counts and deltas:
  open6445 (+45)
  closed 37988 (+39)
  total  44433 (+84)

Open issues with patches: 2512 


Issues opened (70)
==

#10381: Add timezone support to datetime C API
https://bugs.python.org/issue10381  reopened by vstinner

#20767: Some python extensions can't be compiled with clang 3.4
https://bugs.python.org/issue20767  reopened by vstinner

#29708: support reproducible Python builds
https://bugs.python.org/issue29708  reopened by brett.cannon

#32441: os.dup2 should return the new fd
https://bugs.python.org/issue32441  reopened by vstinner

#32591: Deprecate sys.set_coroutine_wrapper and replace it with more f
https://bugs.python.org/issue32591  reopened by yselivanov

#32599: Add dtrace hook for PyCFunction_Call
https://bugs.python.org/issue32599  opened by fche

#32601: PosixPathTest.test_expanduser fails in NixOS build sandbox
https://bugs.python.org/issue32601  opened by andersk

#32603: Deprecation warning on strings used in re module
https://bugs.python.org/issue32603  opened by csabella

#32604: Expose the subinterpreters C-API in Python for testing use.
https://bugs.python.org/issue32604  opened by eric.snow

#32605: Should we really hide unawaited coroutine warnings when an exc
https://bugs.python.org/issue32605  opened by njs

#32606: Email Header Injection Protection Bypass
https://bugs.python.org/issue32606  opened by thedoctorsoup

#32608: Incompatibilities with the socketserver and multiprocessing pa
https://bugs.python.org/issue32608  opened by rbprogrammer

#32609: Add setter and getter for min/max protocol ersion
https://bugs.python.org/issue32609  opened by christian.heimes

#32610: asyncio.all_tasks() should return only non-finished tasks.
https://bugs.python.org/issue32610  opened by asvetlov

#32611: Tkinter taskbar icon (Windows)
https://bugs.python.org/issue32611  opened by Minion Jim

#32612: pathlib.(Pure)WindowsPaths can compare equal but refer to diff
https://bugs.python.org/issue32612  opened by benrg

#32613: Use PEP 397 py launcher in windows faq
https://bugs.python.org/issue32613  opened by mdk

#32614: Fix documentation examples of using re with escape sequences
https://bugs.python.org/issue32614  opened by csabella

#32615: Inconsistent behavior if globals is a dict subclass
https://bugs.python.org/issue32615  opened by ppperry

#32616: Significant performance problems with Python 2.7 built with cl
https://bugs.python.org/issue32616  opened by zmwangx

#32620: [3.5] Travis CI fails on Python 3.5 with "pyenv: version `3.5'
https://bugs.python.org/issue32620  opened by vstinner

#32621: Problem of consistence in collection.abc documentation
https://bugs.python.org/issue32621  opened by yahya-abou-imran

#32622: Implement loop.sendfile
https://bugs.python.org/issue32622  opened by asvetlov

#32623: Resize dict on del/pop
https://bugs.python.org/issue32623  opened by yselivanov

#32624: Implement WriteTransport.is_protocol_paused()
https://bugs.python.org/issue32624  opened by asvetlov

#32625: Update the dis module documentation to reflect switch to wordc
https://bugs.python.org/issue32625  opened by belopolsky

#32626: Subscript unpacking raises SyntaxError
https://bugs.python.org/issue32626  opened by Ben Burrill

#32627: Header dependent _uuid build failure on Fedora 27
https://bugs.python.org/issue32627  opened by ncoghlan

#32628: Add configurable DirectoryIndex to http.server
https://bugs.python.org/issue32628  opened by epaulson

#32629: PyImport_ImportModule occasionally cause access violation
https://bugs.python.org/issue32629  opened by Jack Branson

#32630: Migrate decimal to use PEP 567 context variables
https://bugs.python.org/issue32630  opened by yselivanov

#32631: IDLE: revise zzdummy.py
https://bugs.python.org/issue32631  opened by terry.reedy

#32637: Android: set sys.platform to android
https://bugs.python.org/issue32637  opened by vstinner

#32638: distutils test errors with AIX and xlc
https://bugs.python.org/issue32638  opened by Michael.Felt

#32640: Python 2.7 str.join documentation is incorrect
https://bugs.python.org/issue32640  opened by Malcolm Smith

#32642: add support for path-like objects in sys.path
https://bugs.python.org/issue32642  opened by chris.jerdonek

#32644: unittest.mock.call len() error
https://bugs.python.org/issue32644  opened by snakevil

#32645: test_asyncio: TLS tests fail on "x86 Windows7" buildbot
https://bugs.python.org/issue32645  opened by vstinner

#32646: test_asyncgen: race condition on test_async_gen_asyncio_gc_acl
https://bugs.python.org/issue32646  opened by vstinner

#32647: Undefined references when compiling ctypes on binutils 2.29.1 
https://bugs.python.org/issue32647  opened by cstratak

#32649: complete C API doc debug and profile part with new PyTrace_OPC

Re: [Python-Dev] GH-NNNN vs #NNNN in merge commit

2018-01-26 Thread Terry Reedy

On 1/25/2018 10:38 PM, Brett Cannon wrote:



On Thu, 25 Jan 2018 at 17:33 Eric V. Smith > wrote:


On 1/25/2018 8:13 PM, Terry Reedy wrote:
 > On 1/25/2018 7:47 PM, Mariatta Wijaya wrote:
 >> I think we're starting to deviate from the original topic here which
 >> is: please replace # with GH- when you click Squash & Merge button.
 >
 > I will try to remember to do this, although it seems pointless if
most
 > people do not.


Just because people are forgetting doesn't mean we shouldn't try to 
change people's habits for the better. If it continues to be an issue 
then we can talk about not caring, but for now we should try and spare 
us future pain like we have had with e.g. issue numbers across various 
issue trackers where you don't know which tracker a number is pointing 
you towards.


I have not (yet) suffered such pain so it is not real to me.  However, I 
saw Mariatta's patch to issue a reminded, and that convinces me that you 
all Really Mean It.


And since you have brought it up a couple of times, Terry, we can't 
automate this reformatting if you press the Merge button, hence the 
suggestion of a bot to do the final commit.


An optional bot with clearly defined behavior will be ok.  It would be 
useful when the initial commit message is written to be the merge 
message and there are either no additional commits or one will be happy 
with whatever the clearly defined behavior is with regard to addition 
commit messages.



I sometimes forget, too.

Since changing this in the github workflow seems hard, how about sending
an email to the committer after the commit if this mistake is detected?
I know that in my case, if I were reminded a few times, I would be
better at doing it correctly in the future.


I believe https://github.com/python/bedevere/pull/82 will add a comment, 
which will get emailed to everyone nosy on the PR.


--
Terry Jan Reedy

___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com