input: Write a function to calculate the upcoming weekend date from today.
  assert calculate_upcoming_weekend(datetime.date(2023, 10, 1)) == datetime.date(2023, 10, 7)
  assert calculate_upcoming_weekend(datetime.date(2023, 10, 2)) == datetime.date(2023, 10, 7)
  assert calculate_upcoming_weekend(datetime.date(2023, 10, 4)) == datetime.date(2023, 10, 7)
  assert calculate_upcoming_weekend(datetime.date(2023, 10, 5)) == datetime.date(2023, 10, 7)
  assert calculate_upcoming_weekend(datetime.date(2023, 10, 6)) == datetime.date(2023, 10, 7)
output: import datetime
  
  def calculate_upcoming_weekend(today):
      days_until_saturday = (5 - today.weekday()) % 7
      return today + datetime.timedelta(days=days_until_saturday)