I'm not sure if it's happening because I installed a new library that has that issue, but now every time I run a new project VSCode creates a ".hypothesis/unicode_data/13.0.0/charmap.json.gz" and it's annoying, how can stop it?
I tried looking up the issue on Google but couldn't find much information. There was a post saying it could be related to Pydantic, which I uninstalled, but the issue persists. Here's the code:
import numpy as np
import pandas as pd
import requests
from bs4 import BeautifulSoup
url = "https:example"
response = requests.get(url)
soup = BeautifulSoup(response.text, "html.parser")
episode_data = []
for episode in soup.find_all('div', class_='info'):
episode_number = episode.find('meta')['content']
title = episode.find('a', itemprop='name').text
airdate = episode.find('div', class_='airdate').text.strip()
rating = episode.find('span', class_='ipl-rating-star__rating').text
total_votes = episode.find('span', class_='ipl-rating-star__total-votes').text
desc = episode.find('div', class_='item_description').text.strip()
episode_data.append([episode_number, title, airdate, rating, total_votes, desc])
df = pd.DataFrame(episode_data, columns=['Episode', 'Title', 'Air Date', 'Rating', 'Votes', 'Description'])
I found a same issue on github.
Uninstalling pydantic prevents it from happening, re-installing pydantic reproduces it.
You can try to upgrade hypothesis to solve it:
python -m pip install -U hypothesis