python中的hmac与PHP和节点中的hmac不匹配

I create an HMAC in Node like below:

const check = crypto.createHmac("sha1", "mysecret");
check.update(JSON.stringify("mybody"));
const digest = check.digest("hex");

Then I create the HMAC in PHP:

hash_hmac("sha1","mybody","mysecret")

Then I create the HMAC in Python 3

key = bytes("mysecret", 'utf-8')
message = bytes("mybody", 'utf-8')
digester = hmac.new(key, message, hashlib.sha1).hexdigest():

Then HMAC from Node and PHP match, no issues. But the HMAC from Python is always different and I cant figure out why.

Any help will be appreciated.